ChatCompletionsResponseFormatJSON interface
A response format for Chat Completions that restricts responses to emitting valid JSON objects. Note that to enable JSON mode, some AI models may also require you to instruct the model to produce JSON via a system or user message.
- Extends
Properties
type | Response format type: always 'json_object' for this object. |
Property Details
type
Response format type: always 'json_object' for this object.
type: "json_object"
Property Value
"json_object"
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript