{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/chatCompletionResponseFormat", "title": "chatCompletionResponseFormat", "type": "string", "enum": [ "text", "json_object" ], "default": "text", "example": "json_object", "nullable": true, "description": "Setting to `json_object` enables JSON mode. This guarantees that the message the model generates is valid JSON.", "x-ms-enum": { "name": "ChatCompletionResponseFormat", "modelAsString": true, "values": [ { "value": "text", "description": "Response format is a plain text string." }, { "value": "json_object", "description": "Response format is a JSON object." } ] } }