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 {
    docstore?: SynchronousInMemoryDocstore;
    index?: HierarchicalNSW;
    numDimensions?: number;
    space: SpaceName;
}

Hierarchy (view full)

Properties

index?: HierarchicalNSW
numDimensions?: number
space: SpaceName