FunctionResponse interface

FunctionCall 產生的結果輸出結果,其中包含的字串代表 FunctionDeclaration.name,以及來自函式的任何輸出內容的結構化 JSON 物件,會做為模型的背景資訊。這應包含根據模型預測結果建立的 FunctionCall 結果。

簽名:

export interface FunctionResponse 

屬性

屬性 類型 說明
name 字串
回應 物件

函式回應.名稱

簽名:

name: string;

FunctionResponse.response

簽名:

response: object;