WORKBENCH / TEXT EMBEDDING

Gemini EmbeddingGoogle Gemini

Compare the meaning of documents and questions, or turn text into vectors.

EXPLORE / HOW TO USE

Gemini embeddings and document search

Compare Gemini embedding models with your own Google API key. Rank documents by similarity to questions, inspect text vectors, and download results as JSON.

What you can try

  • Choose an embedding model and output dimensions.
  • Rank documents for each question using cosine similarity.
  • Inspect a single text vector or download search results and vectors as JSON.
  • Requests use your provider’s API quota and may incur charges. Check the key, model access, and billing if you receive an authentication or quota error.

How to get started

  1. Enter a Google API key and select the model and dimensions.
  2. Separate documents and questions with a line containing ---, or select single-text mode.
  3. Run the experiment, compare results, and download the JSON if needed.
  4. Example: add product descriptions as documents and ask which product fits a specific need. Compare the ranking using the same documents and questions.