mirror of
https://github.com/hwchase17/langchain
synced 2024-11-20 03:25:56 +00:00
Replace llm variable with model (#23280)
The code snippet under ‘pdfs_qa’ contains an small incorrect code example , resulting in users getting errors. This pr replaces ‘llm’ variable with ‘model’ to help user avoid a NameError message. Resolves #22689 If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17. --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
af620db9c7
commit
2115fb76de
@ -122,7 +122,7 @@
|
|||||||
"```{=mdx}\n",
|
"```{=mdx}\n",
|
||||||
"import ChatModelTabs from \"@theme/ChatModelTabs\";\n",
|
"import ChatModelTabs from \"@theme/ChatModelTabs\";\n",
|
||||||
"\n",
|
"\n",
|
||||||
"<ChatModelTabs openaiParams={`model=\"gpt-4o\"`} />\n",
|
"<ChatModelTabs customVarName=\"llm\" openaiParams={`model=\"gpt-4o\"`} />\n",
|
||||||
"```"
|
"```"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user