ChatCompletionResponseFormat interface

言語モデルの応答をシリアル化する方法を決定します。 デフォルトは「テキスト」です。

プロパティ

chatCompletionSchemaProperties

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

type

LLM が応答をフォーマットする方法を指定します。

プロパティの詳細

chatCompletionSchemaProperties

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

chatCompletionSchemaProperties?: ChatCompletionSchemaProperties

プロパティ値

type

LLM が応答をフォーマットする方法を指定します。

type?: string

プロパティ値

string