Arguments for creating a CloseVectorNode instance, extending CloseVectorHNSWLibArgs.

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

Hierarchy

  • CloseVectorHNSWLibArgs<HierarchicalNSWT>
    • CloseVectorNodeArgs

Properties

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