To use a hosted Google AI embedding model, specify the google path in the from field of your configuration.
For a specific model, include its model ID in the from field. If no model ID is specified, it defaults to "text-embedding-004".
The following parameters are specific to Google AI embedding models:
| Parameter | Description | Default |
|---|---|---|
google_api_key | The API key for accessing Google AI. | - |
dimensions | The output dimensionality of the embeddings. Some embedding models support dynamic output sizes. | - |
Below is an example configuration in spicepod.yaml:
See Google AI Embedding Models for a list of supported embedding models.
For detailed instructions and examples on running vector searches, refer to the Vector-Based Search documentation.