Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 1.76 KB

File metadata and controls

11 lines (6 loc) · 1.76 KB

PlatformChatCreateText

Optional configuration for the assistant's text response. When format.type is JSON_SCHEMA, the response is constrained to the supplied JSON schema and returned in output[*].content[*].structured_output. Structured output is not supported when stream is true.

Fields

Field Type Required Description
format_ Optional[models.PlatformChatCreateFormat] ➖ Output format for the assistant text. TEXT is unconstrained. JSON_SCHEMA constrains the response to the supplied schema.