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

ChatCompletionResponseFormat interface

确定应如何序列化语言模型的响应。 默认为“文本”。

属性

chatCompletionSchemaProperties

扩展属性的开放字典。 如果 'type' == 'json_schema' 则为必填项

type

指定 LLM 应如何格式化响应。

属性详细信息

chatCompletionSchemaProperties

扩展属性的开放字典。 如果 'type' == 'json_schema' 则为必填项

chatCompletionSchemaProperties?: ChatCompletionSchemaProperties

属性值

type

指定 LLM 应如何格式化响应。

type?: string

属性值

string