openai[patch]: update deprecation target in API ref (#26921)

This commit is contained in:
ccurme 2024-09-27 08:42:31 -04:00 committed by GitHub
parent 7f37fd8b80
commit 39987ebd91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1217,12 +1217,12 @@ class BaseChatOpenAI(BaseChatModel):
Support for ``strict`` argument added.
Support for ``method`` = "json_schema" added.
.. note:: Planned breaking changes in version `0.2.0`
.. note:: Planned breaking changes in version `0.3.0`
- ``method`` default will be changed to "json_schema" from
"function_calling".
- ``strict`` will default to True when ``method`` is
"function_calling" as of version `0.2.0`.
"function_calling" as of version `0.3.0`.
.. dropdown:: Example: schema=Pydantic class, method="function_calling", include_raw=False, strict=True