Type alias CreateSchemaVectorField<T, A>
CreateSchemaVectorField<T, A>: { ALGORITHM: T; DISTANCE_METRIC: "L2" | "IP" | "COSINE"; INITIAL_CAP?: number; } & A Type Parameters
T extends VectorAlgorithms
A extends Record<string, unknown>
Type declaration
ALGORITHM: T
DISTANCE_METRIC: "L2" | "IP" | "COSINE"
Optional
INITIAL_CAP?: number
Type for creating a schema vector field. It includes the algorithm, distance metric, and initial capacity.