Metadata-Version: 2.4
Name: llama-index-embeddings-google-genai
Version: 0.2.0
Summary: llama-index embeddings google genai integration
Author-email: Your Name <you@example.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.9
Requires-Dist: google-genai>=1.4.0
Requires-Dist: llama-index-core<0.13,>=0.12.0
Description-Content-Type: text/markdown

# Google GenAI Embeddings

This package provides a wrapper around the Google GenAI API, allowing you to use Gemini and Vertex AI embeddings in your projects.

## Installation

```bash
pip install llama-index-embeddings-google-genai
```

## Usage

```python
from llama_index.embeddings.google_genai import GoogleGenAIEmbedding

embed_model = GoogleGenAIEmbedding(model_name="text-embedding-004")

embeddings = embed_model.get_text_embedding("Hello, world!")
print(embeddings)
```

## Vertex AI

```python
embed_model = GoogleGenAIEmbedding(
    model_name="text-embedding-004",
    vertexai_config={
        "project": "your-project-id",
        "location": "your-location",
    },
)
```
