如果部分代表 FunctionResponse,則內容部分介面。
簽名:
export interface FunctionResponsePart
屬性
屬性 | 類型 | 說明 |
---|---|---|
函式呼叫 | 永不 | |
functionResponse | FunctionResponse | |
內嵌資料 | 永不 | |
文字 | 永不 |
函式回應 Part.functionCall
簽名:
functionCall?: never;
函式回應 Part.functionResponse
簽名:
functionResponse: FunctionResponse;
函式回應 Part.inlineData
簽名:
inlineData?: never;
函式回應 Part.text
簽名:
text?: never;