FunctionCallOutputItemParam interface
函式工具呼叫的輸出。
- Extends
屬性
| call_id | 模型所產生的函式工具呼叫的唯一標識符。 |
| id | 函式工具呼叫輸出項目的唯一 ID。 |
| output | 函式工具呼叫的文字、圖片或檔案輸出。 |
| status | 項目的狀態。
|
| type | 函數工具呼叫輸出類型。 一律為 |
屬性詳細資料
call_id
模型所產生的函式工具呼叫的唯一標識符。
call_id: string
屬性值
string
id
函式工具呼叫輸出項目的唯一 ID。
id?: string
屬性值
string
output
函式工具呼叫的文字、圖片或檔案輸出。
output: string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[]
屬性值
string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[]
status
項目的狀態。
in_progress、completed 或 incomplete 的其中之一。 透過 API 傳回項目時填入。
status?: FunctionCallItemStatus
屬性值
type
函數工具呼叫輸出類型。 一律為 function_call_output。
type: "function_call_output"
屬性值
"function_call_output"