ToolChoiceCustom interface

用這個選項強制模型呼叫特定的自訂工具。

Extends

屬性

name

要呼叫的自訂工具名稱。

type

對於自訂工具呼叫,類型總是 custom

屬性詳細資料

name

要呼叫的自訂工具名稱。

name: string

屬性值

string

type

對於自訂工具呼叫,類型總是 custom

type: "custom"

屬性值

"custom"