Vettero

Query

Query vectors in a knowledge base by id, text, or vector.

Type

kb.query
Block Tool Knowledge Base
Folderkb
Channels

Any

Pipe

Value

Scope

Any

Query (canvas label KB Query) searches a knowledge base. By text matches similar meaning (not exact keywords). By ID loads one vector. By vector searches with an embedding you already have.

For By text and By vector, set Top K and optional metadata filters. Filters follow the store’s meta fields when Strict is on.

Configure

SettingDescription
Knowledge baseStore to search (required)
Query modeBy ID, By text (default), or By vector
Vector IDShown in By ID — id of the vector
TextShown in By text — search phrase
Vector (comma-separated)Shown in By vector — embedding values
Top KShown in By text / By vector — how many hits to return. Default 10, 1–1000
Metadata filterShown in By text / By vector — optional conditions on metadata

Handles

HandleRole
In (target)Incoming connection
Out (source)Continues after the search returns

Pipe schema

The next block reads this on the data pipe (pipe.value).

By ID — one result, or null if missing:

KeyTypeDescription
idtextVector id
metadataobjectMetadata (strict fields, or loose plus source, sourceId, sourceType, text)
valueslist of numbersEmbedding values

By text / By vector — an object:

KeyTypeDescription
resultslistHits, best match first

Each hit includes:

KeyTypeDescription
idtextVector id
pageContenttextIndexed text
scorenumberSimilarity score
metadataobjectMetadata for that chunk

Use case

  • Ground a reply on product docs or FAQs before sending Text.
  • Look up a known vector id after an earlier Upsert.
  • Filter by locale or product when the store is Strict.
Copyright © 2026