CreateSchemaVectorField<T, A>: {
    ALGORITHM: T;
    DISTANCE_METRIC: "L2" | "IP" | "COSINE";
    INITIAL_CAP?: number;
} & A

Type for creating a schema vector field. It includes the algorithm, distance metric, and initial capacity.

Type Parameters

  • T extends VectorAlgorithms

  • A extends Record<string, unknown>

Type declaration

  • ALGORITHM: T
  • DISTANCE_METRIC: "L2" | "IP" | "COSINE"
  • Optional INITIAL_CAP?: number

Generated using TypeDoc