I haven't tested the changes with the actual OpenAI API yet.
Structured Outputs have two aspects: generating parameters for function calling and formatting responses. In both cases, the new Structured Outputs option can be enabled by setting strict=true. By default, it is set to false.
I haven't tested the changes with the actual OpenAI API yet.
Structured Outputs have two aspects: generating parameters for function calling and formatting responses. In both cases, the new Structured Outputs option can be enabled by setting
strict=true
. By default, it is set tofalse
.Infos
Issue: #190 OpenAI Announcement: https://openai.com/index/introducing-structured-outputs-in-the-api OpenAI Docs: https://platform.openai.com/docs/guides/structured-outputs/introduction OpenAI API Reference: https://platform.openai.com/docs/api-reference/chat/create