ChatCompletionsResponseFormatJsonSchema interface
A response format for Chat Completions that restricts responses to emitting valid JSON objects, with a JSON schema specified by the caller.
- Extends
Properties
json_schema | The definition of the required JSON schema in the response, and associated metadata. |
type | The type of response format being defined: |
Property Details
json_schema
The definition of the required JSON schema in the response, and associated metadata.
json_schema: ChatCompletionsResponseFormatJsonSchemaDefinition
Property Value
type
The type of response format being defined: json_schema
type: "json_schema"
Property Value
"json_schema"
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