Universal Embedding

Generate embeddings using multiple AI providers

Embedding → Embed Single

AI-generated

Summary

Generate an embedding for one text using a selected Google Generative AI or OpenAI model. Choose the provider and model, enter the text, and optionally set provider-specific output dimensions, a Google task type, or retry limits.

Inputs

  • Provider (required) — Select Google Generative AI or OpenAI.
  • Model (required) — Select an embedding model for the chosen provider.
  • Text (required) — The text to embed.
  • Options — Optional settings include OpenAI Dimensions or Google Output Dimensionality to request a reduced embedding size, Google Task Type to specify the embedding use, and Max Retries for failed requests. The Max Parallel Calls setting is for Embed Many and does not apply here.

Output shape

A single item containing the generated embedding data.

The supplied source pack exposes the operation handler signature but omits its implementation body, so the precise output field names and response structure are not shown.

Examples

Example 1: Generate a Google embedding for a search query

Select Google Generative AI, choose an embedding model, enter the query, and set Task Type to Retrieval Query if appropriate.

Links

Discussion