次の方法で共有


ChatCompletionResponseFormatJsonSchemaProperties interface

拡張プロパティのオープンディクショナリ。 'type' == 'json_schema'の場合は必須

プロパティ

description

モデルが準拠する json スキーマの説明。

name

モデルが準拠する json スキーマの名前

schema

モデルが出力を構造化するために使用するカスタムスキーマを定義するオブジェクト。

strict

モデルの応答で構造化された出力を使用するかどうか。 デフォルトはtrueです

プロパティの詳細

description

モデルが準拠する json スキーマの説明。

description?: string

プロパティ値

string

name

モデルが準拠する json スキーマの名前

name?: string

プロパティ値

string

schema

モデルが出力を構造化するために使用するカスタムスキーマを定義するオブジェクト。

schema?: ChatCompletionSchema

プロパティ値

strict

モデルの応答で構造化された出力を使用するかどうか。 デフォルトはtrueです

strict?: boolean

プロパティ値

boolean