Replies: 6 comments 8 replies
-
This would be very useful, awesome if added. |
Beta Was this translation helpful? Give feedback.
-
Really looking fordward to this! |
Beta Was this translation helpful? Give feedback.
-
I don´t know something regarding this update. Why not to automatically place strict = True, without putting it as a parameter? When is useful to keep strict = False? |
Beta Was this translation helpful? Give feedback.
-
I'm looking forward to this feature in langchain. |
Beta Was this translation helpful? Give feedback.
-
I think this should be closed as per @ShubhamMaddhashiya-bidgely comment |
Beta Was this translation helpful? Give feedback.
-
Can I request that this be implemented for the Azure version of the chat model in this thread, or should I start a new conversation for that? |
Beta Was this translation helpful? Give feedback.
-
Checked
Feature request
Enhance LangChain by integrating support for this OpenAI's new Structured Outputs mode, this strict Structured Outputs for 100% conformance to developer-supplied JSON Schemas.
support at least one of the following:
Structured Outputs with Function Calling:
Integrate the ability to specify
strict: true
in function definitions when using OpenAI's function calling feature within LangChain. This ensures that the outputs generated by the model will match the supplied JSON Schema.Structured Outputs with Response Formats:
Support the new
json_schema
option in the response_format parameter when using OpenAI's latest models in LangChain. This allows the models to generate responses that adhere to specified JSON Schemas even when not using function calling.Motivation
generating 100% JSON-schema conforming output is incredibly powerful and will greatly improve the reliability of using LLMs in chains
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions