The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
DOC: model update in 'Using OpenAI Functions' docs (#14486)
ggeutzzang414bddd5f055
diff --git a/docs/docs/modules/chains/how_to/openai_functions.ipynb b/docs/docs/modules/chains/how_to/openai_functions.ipynbindex f5d4a5cd9d..37478784f8 100644--- a/docs/docs/modules/chains/how_to/openai_functions.ipynb+++ b/docs/docs/modules/chains/how_to/openai_functions.ipynb@@ -85,8 +85,8 @@}],"source": [- "# If we pass in a model explicitly, we need to make sure it supports the OpenAI function-calling API.\n",- "llm = ChatOpenAI(model=\"gpt-4\", temperature=0)\n",+ "# For better results in OpenAI function-calling API, it is recommended to explicitly pass the latest model.\n",+ "llm = ChatOpenAI(model=\"gpt-3.5-turbo-1106\", temperature=0)\n","prompt = ChatPromptTemplate.from_messages(\n"," [\n"," (\n",