Skip to content

RAG (ingest)

RAG (ingest) is the “write” half of RAG: it takes text, splits it into chunks, computes their embeddings and stores them in the vector store under a namespace. Later, RAG (retrieve) searches over that content.

It’s a flow node (it does not connect to the agent). You use it in an ingestion workflow that you run once, or whenever your documents change.

FieldTypeRequiredDescription
namespacetextYesNamespace to store into.
providerselectYesEmbeddings provider.
modeltextYesEmbeddings model (the same you’ll use when retrieving).
credentials_idcredentialsYesProvider credential.
chunk_sizenumberNoSize of each chunk in characters. Default 1000.
overlapnumberNoOverlap between chunks. Default 150.

Input: data.text (a single text) or data.documents (an array [{ text, id, metadata }]). Output: data.indexed (how many chunks were stored) and data.namespace.

  1. Start → (a node that brings the text: read a file, a table, an HTTP call…) → RAG (ingest) → End.
  2. RAG (ingest):
    • namespace: product-manual
    • provider: openai, model: text-embedding-3-small
    • credentials_id: your credential
    • chunk_size: 1000, overlap: 150
  3. Run the workflow once. Confirm the output has indexed > 0.

From then on, an agent with RAG (retrieve) pointing at the same namespace and same model can answer about that manual.