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
⚠️ Deprecated ⚠️
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Install and import from the "@langchain/redis" integration package instead. Type for creating a schema vector field. It includes the algorithm, distance metric, and initial capacity.