StartChatExtension extension

on

Methods

startChat({List<Content>? history, List<SafetySetting>? safetySettings, GenerationConfig? generationConfig, int? maxTurns}) ChatSession

Available on GenerativeModel, provided by the StartChatExtension extension

Starts a ChatSession that will use this model to respond to messages.