ChatCompletionResponseFormat interface
Determines how the language model's response should be serialized. Defaults to 'text'.
Properties
| chat |
An open dictionary for extended properties. Required if 'type' == 'json_schema' |
| type | Specifies how the LLM should format the response. |
Property Details
chatCompletionSchemaProperties
An open dictionary for extended properties. Required if 'type' == 'json_schema'
chatCompletionSchemaProperties?: ChatCompletionSchemaProperties
Property Value
type
Specifies how the LLM should format the response.
type?: string
Property Value
string