GenerativeModel.startChat() 的参数。
签名:
export interface StartChatParams extends BaseParams
扩展:BaseParams
属性
属性 | 类型 | 说明 |
---|---|---|
历史 | 内容[] | |
systemInstruction | 字符串 |部分 |内容 | |
toolConfig | 工具配置 | |
工具 | 工具[] |
StartChatParams.history
签名:
history?: Content[];
StartChatParams.systemInstruction
签名:
systemInstruction?: string | Part | Content;
StartChatParams.toolConfig
签名:
toolConfig?: ToolConfig;
StartChatParams.tools
签名:
tools?: Tool[];