Skip to content
1 min read · 120 words

@nhtio/adk/batteries/vector/schema

Knex-style schema builder for the vector battery.

Classes

ClassDescription
CollectionBuilderChainable builder for a single collection definition — declares the vector column and the typed metadata fields, compiled to a CollectionSpec by CollectionBuilder.build.
VectorSchemaBuilderKnex-style schema facade exposing collection DDL (create/drop/rename/has) over a SchemaExecutor. Returned by a vector store's schema() accessor.

Interfaces

InterfaceDescription
FieldChainPost-declaration chain for a metadata field, toggling indexing and nullability.
SchemaExecutorThe backend side of the schema builder — the adapter operations a VectorSchemaBuilder drains its compiled CollectionSpecs and DDL calls into.