Package uno.anahata.asi.gemini


package uno.anahata.asi.gemini
Provides the provider implementation for Google's Gemini API using the official GenAI Java SDK.

This package acts as a high-fidelity adapter between Anahata's unified ASI domain model and Gemini's multimodal and agentic capabilities. It supports standard content generation, streaming, tool calling (function calling), and advanced features like "Thinking" blocks and grounding metadata.

Key Components:

  • Provider: GeminiAiProvider manages the SDK client lifecycle and API key rotation.
  • Model Logic: GeminiModel handles payload preparation and response orchestration.
  • Message Mapping: GeminiModelMessage and GeminiResponse translate multimodal "Parts" and "Candidates" into the unified Anahata model.
Author:
anahata