docs: oai chat nit (#25117)

This commit is contained in:
Bagatur 2024-08-06 15:00:42 -07:00 committed by GitHub
parent 7882d5c978
commit 1331e8589c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -322,7 +322,9 @@
"source": [
"### ``strict=True``\n",
"\n",
".. info Requires ``langchain-openai==0.1.21rc1``\n",
":::info Requires ``langchain-openai>=0.1.21rc1``\n",
"\n",
":::\n",
"\n",
"As of Aug 6, 2024, OpenAI supports a `strict` argument when calling tools that will enforce that the tool argument schema is respected by the model. See more here: https://platform.openai.com/docs/guides/function-calling\n",
"\n",