다음을 통해 공유


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: json_schema

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"