@nhtio/adk/batteries/vector/factory
Interfaces
| Interface | Description |
|---|---|
| CreateVectorStoreConfig | - |
| EmbeddingsLike | - |
| VectorStoreConstructor | - |
Type Aliases
| Type Alias | Description |
|---|---|
| VectorStoreClient | client is one of: - the adapter class itself — QdrantVectorStore - a sync resolver — () => QdrantVectorStore - an async resolver / dynamic import — () => import('…/qdrant').then(m => m.QdrantVectorStore) A resolver may also return a module namespace whose default is the class. |
Functions
| Function | Description | | ----------------------------------------------------------- | -------------------------------------------------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | createVectorStore | Build a callable store. Validate config; resolve the client (class | sync resolver | async resolver) to a BaseVectorStore subclass ctor; optional availability gate; construct; return asCallable(). Async so that client: () => import('…') can lazily load the adapter (and its driver) only when the store is actually created. | | encoderFromEmbeddings | - |