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?: any;
    index?: HierarchicalNSW;
    numDimensions?: number;
}

Hierarchy (view full)

Properties

space: SpaceName
docstore?: any
index?: HierarchicalNSW
numDimensions?: number
""