Arguments for creating a CloseVectorNode instance, extending CloseVectorHNSWLibArgs.

interface CloseVectorNodeArgs {
    space: "cosine" | "l2" | "ip";
    docstore?: SynchronousInMemoryDocstore;
    index?: HierarchicalNSW;
    instance?: CloseVectorHNSWNode;
    maxElements?: number;
    numDimensions?: number;
}

Hierarchy

  • CloseVectorHNSWLibArgs<HierarchicalNSWT>
    • CloseVectorNodeArgs

Properties

space: "cosine" | "l2" | "ip"
docstore?: SynchronousInMemoryDocstore
index?: HierarchicalNSW
instance?: CloseVectorHNSWNode
maxElements?: number
numDimensions?: number