← All nodes
Transforms a_kb_ingest

Ingest to knowledge base

Upserts pre-embedded chunks into the target knowledge base.

What does it do?

Saves new information into your Knowledge Base during a conversation.

How does it work?

Takes the text you pass in, converts it to vectors and permanently inserts it into the database you choose.

Why use it?

Useful if you want your AI to learn things on the fly. For example, saving user preferences for future conversations.

Inputs

nametype
chunks array
vectors array
source_id string
kb_id string

Outputs

nametype
upserted number
skipped number
kb_id string
source_id string

Branches

Fixed branches

  • out — Output

Configuration

chunks_field string required default: "chunks"
vectors_field string required default: "vectors"
source_id_field string required default: "source_id"
kb_id_field string required default: "kb_id"
tier_field string required default: "kb_tier"
dim_field string required default: "kb_dim"

Default configuration

{
  "chunks_field": "chunks",
  "vectors_field": "vectors",
  "source_id_field": "source_id",
  "kb_id_field": "kb_id",
  "tier_field": "kb_tier",
  "dim_field": "kb_dim"
}

Emitted events

This node does not publish events on the pubsub channel.