StartChatParams interface

GenerativeModel.startChat() 的參數。

簽名:

export interface StartChatParams extends BaseParams 

擴充: BaseParams

屬性

屬性 類型 說明
歷史 內容[]
system 指令 字串 |零件 |內容
toolConfig 工具設定
工具 工具[]

StartChatParams.history

簽名:

history?: Content[];

StartChatParams.systeminstructions

簽名:

systemInstruction?: string | Part | Content;

StartChatParams.toolConfig

簽名:

toolConfig?: ToolConfig;

StartChatParams.tools

簽名:

tools?: Tool[];