FunctionResponse interface

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

簽名:

export interface FunctionResponse 

屬性

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

函式回應.name

簽名:

name: string;

函式回應.response

簽名:

response: object;