你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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