Supported Embedding Models
Gemini
To use Gemini embedding models, set the GOOGLE_API_KEY
environment variables. You can obtain the Gemini API key from here.
Usage
Config
Here are the parameters available for configuring Gemini embedder:
Parameter | Description | Default Value |
---|---|---|
model | The name of the embedding model to use | models/text-embedding-004 |
embedding_dims | Dimensions of the embedding model | 768 |
api_key | The Gemini API key | None |