Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 492 Bytes

responseformats.md

File metadata and controls

12 lines (8 loc) · 492 Bytes

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.

Values

Name Value
TEXT text
JSON_OBJECT json_object
JSON_SCHEMA json_schema