ChatCompletionResponseFormat interface

決定語言模型的回應應該如何序列化。 預設為「文字」。

屬性

chatCompletionSchemaProperties

擴充屬性的開放字典。 如果 'type' == 'json_schema' 則為必要項目

type

指定 LLM 應如何格式化回應。

屬性詳細資料

chatCompletionSchemaProperties

擴充屬性的開放字典。 如果 'type' == 'json_schema' 則為必要項目

chatCompletionSchemaProperties?: ChatCompletionSchemaProperties

屬性值

type

指定 LLM 應如何格式化回應。

type?: string

屬性值

string