ChatCompletionResponseFormatJsonSchemaProperties interface

JSON 架構回應格式的屬性。

屬性

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