Skip to main content
Embed is a first-party Plot Plugin that turns text into unit-normalized vectors. Use it to prepare Plot data for retrieval, similarity, classification, and clustering workflows.
Embed is currently an internal Plot Plugin. Its SQL and materialization contracts may change before it is included in customer documentation.
Embedding consumes an external model service. Filter invalid input and keep a LIMIT while developing, then set budgets on scheduled Plots.

Embed text

Only input is required. Omitted model coordinates use the Workspace’s configured default, and purpose defaults to document.
Embed issue titles
Named arguments use => and cannot be mixed with positional arguments. The output dimensions come from the configured model identity. They are not a call-site argument. With the built-in defaults, the return type is a nullable, unit-normalized FixedSizeList<Float32, 768>. NULL or empty input returns NULL. If a provider batch fails, the affected cells become NULL and the rest of the query continues.

Match the embedding purpose

Use document for stored source text and query for a search phrase.
Embed a search query
Supported purposes are: Parable maps these values onto each embedding service’s task vocabulary. A service that does not expose task types receives no service-specific value.

Keep vector identities compatible

Vectors are comparable only when they share provider, name, version, dimensions, and normalization. server controls routing and does not change vector identity. When a Plot materializes an embed() column, the Plot table exposes the vector and Parable creates a Lance sibling for approximate nearest-neighbor search:
The sibling and its Plot table share _plot_row_id. See the Parable Pool for the canonical table addressing model.

Execution and limits

Interactive queries batch inputs and cap concurrent provider requests. Scheduled Plot runs pin model identity and purpose, account successful embedding work, and persist vectors with their model metadata. The service rejects calls above its configured row cap. Model and purpose must be constant for the invocation, while input varies by row. Run embed() with the same SDK query method as any other Parable SQL. See Query with the SDKs.