Type identifier:
ai:vectorContext:addCategory: AI Operations
The AI - Vector Context Add node stores text embeddings in a vector context, enabling later semantic search operations. It automatically computes embeddings and indexes them with optional labels for filtering.
Handle | Type | Description |
|---|---|---|
| control | Triggers the add operation. |
|
| The text content to embed and store. |
|
| Unique identifier for this embedding. |
|
| Dynamic handles for label values. |
Handle | Type | Description |
|---|---|---|
| control | Triggered when the embedding is successfully stored. |
| control | Triggered when the operation fails. |
Option | Type | Default | Description |
|---|---|---|---|
Labels |
|
| Label keys for categorising embeddings. |
Stores the content in the vector context with:
Labels enable filtered vector queries:
The ID uniquely identifies each embedding:
Uses OpenAI text-embedding-ada-002 (1536 dimensions) for embedding computation. For the canonical model list, see AI - Model Reference — Compute Embedding Models.
Configuration:
["documentId", "chunkIndex"]Flow:
For each chunk:
content: The chunk textid: <documentId>-<chunkIndex>documentId: Source document IDchunkIndex: Position in documentConfiguration:
["category", "source"]Use case: Build a knowledge base with categorised entries for filtered retrieval.
Providing an existing ID updates the embedding: