Tei Embeddings Node icon

Tei Embeddings Node

Generate text embeddings via Tei embeddings API (embedding sub-node)

Tei Embeddings Node

AI-generated

Summary

Generates embedding vectors from text input using the Tei embeddings API.

Inputs

  • Node Type (required) — A hidden parameter specifying the node type (default: 'embedding').

Output shape

An array of embedding vectors corresponding to the input text.

The node expects input text from a previous node's item data. It returns a list of vectors; if the response does not contain any vectors, it throws an error.

Examples

Example 1: Converting a single sentence into a vector representation for semantic search.

Input text from a previous node is sent to the configured Tei endpoint, returning a single embedding array.

Example 2: Batch processing multiple documents to compare their similarity.

Multiple text items from the input stream are processed to generate a list of corresponding vectors.

Discussion