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

@@ -60,7 +60,7 @@ def create_stuff_documents_chain(
prompt = ChatPromptTemplate.from_messages(
[("system", "What are everyone's favorite colors:\\n\\n{context}")]
)
llm = ChatOpenAI(model_name="gpt-3.5-turbo")
llm = ChatOpenAI(model="gpt-3.5-turbo")
chain = create_stuff_documents_chain(llm, prompt)
docs = [