StartChatParams interface
Stay organized with collections
Save and categorize content based on your preferences.
Params for GenerativeModel.startChat().
Signature:
export interface StartChatParams extends BaseParams
Extends: BaseParams
Properties
StartChatParams.history
Signature:
history?: Content[];
StartChatParams.systemInstruction
Signature:
systemInstruction?: string | Part | Content;
Signature:
toolConfig?: ToolConfig;
Signature:
tools?: Tool[];
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["Params for [GenerativeModel.startChat()](./ai.generativemodel.md#generativemodelstartchat).\n\n**Signature:** \n\n export interface StartChatParams extends BaseParams \n\n**Extends:** [BaseParams](./ai.baseparams.md#baseparams_interface)\n\nProperties\n\nStartChatParams.history\n\n**Signature:** \n\n history?: Content[];\n\nStartChatParams.systemInstruction\n\n**Signature:** \n\n systemInstruction?: string | Part | Content;\n\nStartChatParams.toolConfig\n\n**Signature:** \n\n toolConfig?: ToolConfig;\n\nStartChatParams.tools\n\n**Signature:** \n\n tools?: Tool[];"]]