Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 4.61 KB

responseformat.md

File metadata and controls

9 lines (6 loc) · 4.61 KB

ResponseFormat

Fields

Field Type Required Description
type Optional[models.ResponseFormats] An object specifying the format that the model must output. Setting to { "type": "json_object" } enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message.
json_schema OptionalNullable[models.JSONSchema] N/A