@nhtio/adk/batteries/vector/schema
Knex-style schema builder for the vector battery.
Classes
| Class | Description |
|---|---|
| CollectionBuilder | Chainable builder for a single collection definition — declares the vector column and the typed metadata fields, compiled to a CollectionSpec by CollectionBuilder.build. |
| VectorSchemaBuilder | Knex-style schema facade exposing collection DDL (create/drop/rename/has) over a SchemaExecutor. Returned by a vector store's schema() accessor. |
Interfaces
| Interface | Description |
|---|---|
| FieldChain | Post-declaration chain for a metadata field, toggling indexing and nullability. |
| SchemaExecutor | The backend side of the schema builder — the adapter operations a VectorSchemaBuilder drains its compiled CollectionSpecs and DDL calls into. |