models/spring-ai-google-genai-embedding/README.md
Google GenAI Text Embeddings Documentation
The Google GenAI Embeddings module provides text embedding generation using Google's embedding models through either the Gemini Developer API or Vertex AI.
Please note that at this time the spring-ai-google-genai-embedding module supports text embeddings only.
This is due to the fact that the Google GenAI SDK currently supports text embeddings only, with multimodal embeddings support pending.
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-model-google-genai-embedding</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-google-genai-embedding</artifactId>
</dependency>
The module supports two authentication modes:
See the documentation for detailed configuration instructions.