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

@@ -274,7 +274,7 @@
"db = SQLDatabase.from_uri(\n",
" CONNECTION_STRING\n",
") # We reconnect to db so the new columns are loaded as well.\n",
"llm = ChatOpenAI(model_name=\"gpt-4\", temperature=0)\n",
"llm = ChatOpenAI(model=\"gpt-4\", temperature=0)\n",
"\n",
"sql_query_chain = (\n",
" RunnablePassthrough.assign(schema=get_schema)\n",