Arguments for creating a CloseVectorWeb instance, extending CloseVectorHNSWLibArgs.

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

Hierarchy

  • CloseVectorHNSWLibArgs<HierarchicalNSWT>
    • CloseVectorWebArgs

Properties

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