← All nodes
Transforms a_embed_text

Embed Text

Embeds a batch of texts with the configured provider, returns vectors + dim.

What does it do?

Converts plain text into vectors (a list of numbers that represent its meaning).

How does it work?

Takes text and uses an AI embedding model to generate its mathematical coordinates.

Why use it?

Useful for comparing how similar two texts are or for storing information in a vector database manually.

Inputs

nametype
texts string | string[]

Outputs

nametype
vectors array
dim number
count number
model string
provider string

Branches

Fixed branches

  • out — Output

Configuration

texts_field string required default: "texts"
input_type "document" | "query" required default: "query"
memory_key string optional

Default configuration

{
  "texts_field": "texts",
  "input_type": "query"
}

Emitted events

This node does not publish events on the pubsub channel.