Home > @google/generative-ai > GenerativeModel > startChat
Gets a new ChatSession instance which can be used for multi-turn chats.
Signature:
startChat(startChatParams?: StartChatParams): ChatSession;
Parameter | Type | Description |
---|---|---|
startChatParams | StartChatParams | (Optional) |
Returns: