ChatCompletionResponseFormatJsonSchemaProperties interface
扩展属性的开放字典。 如果 'type' == 'json_schema' 则为必填项
属性
| description | 模型将遵循的 json 架构的说明。 |
| name | 模型将遵循的 json 架构的名称 |
| schema | 定义模型将用于构建其输出的自定义架构的对象。 |
| strict | 模型的响应是否应使用结构化输出。 默认值为 true |
属性详细信息
description
模型将遵循的 json 架构的说明。
description?: string
属性值
string
name
模型将遵循的 json 架构的名称
name?: string
属性值
string
schema
strict
模型的响应是否应使用结构化输出。 默认值为 true
strict?: boolean
属性值
boolean