> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quivr.thevibecompany.co/llms.txt
> Use this file to discover all available pages before exploring further.

# EmbeddingGemma 2

> Use EmbeddingGemma 2 to make text and, with a GPU endpoint, images searchable by meaning.

Embedding

stable

v1.2.0

Needs CPU for text, authenticated GPU endpoint for images

[View plugin source](https://github.com/The-Vibe-Company/quivr/tree/main/plugins/multimodal-embed) · Plugin ID `multimodal.embed` · Plugin API `>=0.23.0 <0.24.0`

An image-capable GPU endpoint puts text and images in the same search space.

![With a GPU endpoint, EmbeddingGemma 2 puts text and images in a shared space for search by meaning.](https://mintcdn.com/thevibecompany/PI_GEAEWJFtcLBcC/images/diagrams/multimodal-embed.png?fit=max\&auto=format\&n=PI_GEAEWJFtcLBcC\&q=85\&s=f97ccdacadcc85321be99be49008d45d)

## What it does

An embedding plugin turns content and queries into vectors, numbers Quivr compares to find similar meanings. EmbeddingGemma 2 (`google/embeddinggemma-2`) is the model this plugin uses and the default in Single Machine. A GPU endpoint lets the same plugin embed text and images in one shared space.

## Before you start

[Single Machine](https://docs.quivr.thevibecompany.co/operate/install.md) includes a text-only CPU encoder. For image search, have an image-capable GPU endpoint serving `google/embeddinggemma-2` and its bearer key. See the [GPU endpoint setup and checks](https://github.com/The-Vibe-Company/quivr/blob/main/deploy/modal/README.md#serve-embeddinggemma-2). To upload individual JPEG, PNG or WebP files, enable [Image metadata](https://docs.quivr.thevibecompany.co/plugins/image-metadata.md) for those formats. If the legacy image plugin owns the JPEG or PNG routes, [move those routes to Image metadata](https://docs.quivr.thevibecompany.co/plugins/crossmodal-image.md#move-queries-to-embeddinggemma-2).

## Enable it

On the Railway `api`, `worker` and `worker-bulk` services, set `QUIVR_DEMO_EMBEDDING=gemma` and provide `EMBED_URL` and `EMBED_API_KEY`. Use the HTTPS origin for `EMBED_URL`, without a path. The launcher adds `/v1`. Keep the key in the deployment’s secret environment. For a manual installation, see [Run first-party plugin images](https://docs.quivr.thevibecompany.co/operate/deploy.md#run-first-party-plugin-images).

## Use it

### Search for the same idea in different words

1. [Add a short article](https://docs.quivr.thevibecompany.co/guides/add-content.md) about ferries leaving an island. On the GPU setup, also submit a relevant image.
2. Wait for the collection’s vector index to serve the new content. If you switched an existing collection to this plugin, [rebuild the collection](https://docs.quivr.thevibecompany.co/operate/vector-model.md#fill-and-promote-another-plugin) first.
3. Try “boats departing from an island” in [meaning-based search](https://docs.quivr.thevibecompany.co/guides/search.md#choose-a-mode) (`mode: semantic`). Look for the article in the results. For a separate image check on the GPU setup, set `filter.modalities` to `["image"]` on the same search. Look for the photo with `modality: image` in the result.

## Settings

The table describes the checked-in example manifest. Single Machine disables image indexing in its CPU configuration. With a GPU endpoint, the packaged configuration allows both image indexing and image queries.

## What it produces

Quivr can compare a text query with indexed text and, on the GPU setup, indexed images. With the bundled CPU encoder, the index contains text vectors only.

## Limits and troubleshooting

* If image matches are missing, confirm that your installation uses the GPU endpoint, that image indexing is enabled, and that you submitted image content. On Single Machine’s CPU setup you can still find photos by any caption text that was indexed.
* If the image filter returns `422 modality_filter_unavailable`, rebuild the affected collection to enable filtering by image.
* If an existing collection still serves an old index, follow the [rebuild and switch procedure](https://docs.quivr.thevibecompany.co/operate/vector-model.md#fill-and-promote-another-plugin) before retiring its previous plugin.

## Related plugins

[Image metadata](https://docs.quivr.thevibecompany.co/plugins/image-metadata.md) prepares photo files and captions. [Core search](https://docs.quivr.thevibecompany.co/plugins/core-retrieve.md) ranks keyword and meaning matches.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.