Interface: VectorStoreConstructor<O>
Defined in: src/batteries/vector/factory.ts:11
The adapter class shape the factory accepts as client — a constructor with an optional availability probe.
Type Parameters
| Type Parameter | Default type |
|---|---|
O extends BaseVectorStoreOptions | BaseVectorStoreOptions |
Constructors
Constructor
ts
new VectorStoreConstructor(options: O): BaseVectorStore;Defined in: src/batteries/vector/factory.ts:13
Construct the adapter from its options.
Parameters
| Parameter | Type |
|---|---|
options | O |
Returns
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
isAvailable? | () => boolean | Optional static probe: false short-circuits creation with a driver-unavailable error. | src/batteries/vector/factory.ts:15 |