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

@@ -424,7 +424,7 @@
" DialogueAgentWithTools(\n",
" name=name,\n",
" system_message=SystemMessage(content=system_message),\n",
" model=ChatOpenAI(model_name=\"gpt-4\", temperature=0.2),\n",
" model=ChatOpenAI(model=\"gpt-4\", temperature=0.2),\n",
" tool_names=tools,\n",
" top_k_results=2,\n",
" )\n",