From 39987ebd91dd658feed58d98766a7b3b3aa93571 Mon Sep 17 00:00:00 2001 From: ccurme Date: Fri, 27 Sep 2024 08:42:31 -0400 Subject: [PATCH] openai[patch]: update deprecation target in API ref (#26921) --- libs/partners/openai/langchain_openai/chat_models/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/partners/openai/langchain_openai/chat_models/base.py b/libs/partners/openai/langchain_openai/chat_models/base.py index b9c19ea8f98ae..8bf598a530852 100644 --- a/libs/partners/openai/langchain_openai/chat_models/base.py +++ b/libs/partners/openai/langchain_openai/chat_models/base.py @@ -1217,12 +1217,12 @@ def with_structured_output( 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