Type Alias CreateSchemaHNSWVectorField
CreateSchemaHNSWVectorField: {
ALGORITHM: HNSW;
DISTANCE_METRIC: "IP" | "L2" | "COSINE";
EF_CONSTRUCTION?: undefined | number;
EF_RUNTIME?: undefined | number;
INITIAL_CAP?: undefined | number;
M?: undefined | number;
}
Deprecated
Install and import from the "@langchain/redis" integration package instead. Type for creating a HNSW schema vector field. It extends CreateSchemaVectorField with M, EF_CONSTRUCTION, and EF_RUNTIME properties.