GenerativeModel.startChat() 的參數。
簽名:
export interface StartChatParams extends BaseParams
擴充: BaseParams
屬性
屬性 | 類型 | 說明 |
---|---|---|
觀看記錄 | 內容[] | |
systemInstruction | 字串 | 部分 | 內容 | |
toolConfig | ToolConfig | |
工具 | 工具[] |
StartChatParams.history
簽名:
history?: Content[];
StartChatParams.systemInstruction
簽名:
systemInstruction?: string | Part | Content;
StartChatParams.toolConfig
簽名:
toolConfig?: ToolConfig;
StartChatParams.tools
簽名:
tools?: Tool[];