Package com.google.genai.gaos
Class GenAI
java.lang.Object
com.google.genai.gaos.GenAI
- All Implemented Interfaces:
AutoCloseable
Gemini API: The Gemini Interactions API allows developers to build generative AI applications using
Gemini models. Gemini is our most capable model, built from the ground up to be multimodal.
It can generalize and seamlessly understand, operate across, and combine different types of information including language, images, audio, video, and code. You can use the Gemini API for use cases like reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Builder class allows the configuration of a new instance of the SDK. -
Field Summary
Fields -
Method Summary
-
Field Details
-
SERVERS
SERVERS contains the list of server urls available to the SDK.
-
-
Method Details
-
agents
-
environments
-
interactions
-
triggers
-
webhooks
-
builder
Get a new instance of the SDK builder to configure a new instance of the SDK.- Returns:
- The SDK builder instance.
-
async
Switches to the async SDK.- Returns:
- The async SDK
-
close
Releases the configured HTTP client's owned resources.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception- if the configured client cannot be closed
-