Arguments for creating a CloseVectorWeb instance, extending CloseVectorHNSWLibArgs.

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

Hierarchy

  • CloseVectorHNSWLibArgs<HierarchicalNSWT>
    • CloseVectorWebArgs

Properties

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