Interface for the arguments that can be passed to the HNSWLib constructor. It extends HNSWLibBase and includes properties for the document store and HNSW index.

interface HNSWLibArgs {
    space: SpaceName;
    docstore?: SynchronousInMemoryDocstore;
    index?: HierarchicalNSW;
    numDimensions?: number;
}

Hierarchy (view full)

Properties

space: SpaceName
docstore?: SynchronousInMemoryDocstore
index?: HierarchicalNSW
numDimensions?: number