Skip to content

Commit

Permalink
Replace llm variable with model (#23280)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mirnawong1 and ccurme authored Jun 24, 2024
1 parent af620db commit 2115fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/tutorials/pdf_qa.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"```{=mdx}\n",
"import ChatModelTabs from \"@theme/ChatModelTabs\";\n",
"\n",
"<ChatModelTabs openaiParams={`model=\"gpt-4o\"`} />\n",
"<ChatModelTabs customVarName=\"llm\" openaiParams={`model=\"gpt-4o\"`} />\n",
"```"
]
},
Expand Down

0 comments on commit 2115fb7

Please sign in to comment.