Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Aug 2, 2024
1 parent 32f740b commit 25128a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/core_docs/docs/integrations/llms/bedrock.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@
"source": [
"import { PromptTemplate } from \"@langchain/core/prompts\"\n",
"\n",
"const prompt = new PromptTemplate({\n",
" template: \"Human: How to say {input} in {output_language}:\\nAssistant:\",\n",
" inputVariables: [\"input\", \"output_language\"],\n",
"})\n",
"const prompt = PromptTemplate.fromTemplate(\"Human: How to say {input} in {output_language}:\\nAssistant:\")\n",
"\n",
"const chain = prompt.pipe(llm);\n",
"await chain.invoke(\n",
Expand Down

0 comments on commit 25128a4

Please sign in to comment.