

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 includes a text-only CPU encoder. For image search, have an image-capable GPU endpoint servinggoogle/embeddinggemma-2 and its bearer key. See the GPU endpoint setup and checks. To upload individual JPEG, PNG or WebP files, enable Image metadata for those formats. If the legacy image plugin owns the JPEG or PNG routes, move those routes to Image metadata.
Enable it
On the Railwayapi, 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.
Use it
Search for the same idea in different words
- Add a short article about ferries leaving an island. On the GPU setup, also submit a relevant image.
- Wait for the collection’s vector index to serve the new content. If you switched an existing collection to this plugin, rebuild the collection first.
- Try “boats departing from an island” in meaning-based search (
mode: semantic). Look for the article in the results. For a separate image check on the GPU setup, setfilter.modalitiesto["image"]on the same search. Look for the photo withmodality: imagein 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 before retiring its previous plugin.