Package com.google.genai
Class AsyncChats
java.lang.Object
com.google.genai.AsyncChats
A class for creating async chat sessions.
-
Method Summary
-
Method Details
-
create
Creates a new async chat session.- Parameters:
model
- The model to use for the async chat session.config
- The configuration for the async chat session.- Returns:
- The async chat session.
-
create
Creates a new async chat session.- Parameters:
model
- The model to use for the async chat session.- Returns:
- The async chat session.
-