docs: use standard openai params (#20160)

Part of #20085
This commit is contained in:
Bagatur
2024-04-08 10:56:53 -05:00
committed by GitHub
parent e1a24d09c5
commit 5ae0e687b3
44 changed files with 58 additions and 58 deletions

View File

@@ -3811,7 +3811,7 @@
"from langchain.chains import ConversationalRetrievalChain\n",
"from langchain_openai import ChatOpenAI\n",
"\n",
"model = ChatOpenAI(model_name=\"gpt-3.5-turbo-0613\") # switch to 'gpt-4'\n",
"model = ChatOpenAI(model=\"gpt-3.5-turbo-0613\") # switch to 'gpt-4'\n",
"qa = ConversationalRetrievalChain.from_llm(model, retriever=retriever)"
]
},