Package com.google.genai
Class Chats
-
- All Implemented Interfaces:
public class ChatsA class for creating chat sessions.
-
-
Method Summary
-
-
Method Detail
-
create
Chat create(String model, GenerateContentConfig config)
Creates a new chat session.
- Parameters:
model- The model to use for the chat session.config- The configuration for the chat session.- Returns:
The chat session.
-
-
-
-