| Package | Description |
|---|---|
| com.google.cloud.vertexai.generativeai |
| Modifier and Type | Method and Description |
|---|---|
ChatSession |
GenerativeModel.startChat()
Returns a new
ChatSession instance that can be used to start a chat with this model. |
ChatSession |
ChatSession.withAutomaticFunctionCallingResponder(AutomaticFunctionCallingResponder automaticFunctionCallingResponder)
Creates a copy of the current ChatSession with updated AutomaticFunctionCallingResponder.
|
ChatSession |
ChatSession.withGenerationConfig(GenerationConfig generationConfig)
Creates a copy of the current ChatSession with updated GenerationConfig.
|
ChatSession |
ChatSession.withSafetySettings(List<SafetySetting> safetySettings)
Creates a copy of the current ChatSession with updated SafetySettings.
|
ChatSession |
ChatSession.withSystemInstruction(Content systemInstruction)
Creates a copy of the current ChatSession with updated SystemInstruction.
|
ChatSession |
ChatSession.withToolConfig(ToolConfig toolConfig)
Creates a copy of the current ChatSession with updated ToolConfig.
|
ChatSession |
ChatSession.withTools(List<Tool> tools)
Creates a copy of the current ChatSession with updated Tools.
|
Copyright © 2025 Google LLC. All rights reserved.