Skip to content
1 min read · 170 words

@nhtio/adk/batteries/vector/builder

Knex-style chainable query builder for the vector storage battery.

Classes

ClassDescription
FilterBuilderThe where-clause surface of the query builder, factored out so a grouping callback can be handed a builder that only exposes filter methods (not near*/select/limit or the terminals).
VectorQueryBuilderThe where-clause surface of the query builder, factored out so a grouping callback can be handed a builder that only exposes filter methods (not near*/select/limit or the terminals).

Interfaces

InterfaceDescription
PlanSink-

Type Aliases

Type AliasDescription
FilterCallbackA callback that receives a fresh filter-only builder, used to express a parenthesized group of conditions — A AND (B OR C), NOT (…), and arbitrary nesting. The callback mutates the builder in place (knex-style); its accumulated conditions become a single nested VectorFilter.
SelectArg-