CreateSchemaFlatVectorField: {
    ALGORITHM: FLAT;
    DISTANCE_METRIC: "IP" | "L2" | "COSINE";
    BLOCK_SIZE?: undefined | number;
    INITIAL_CAP?: undefined | number;
}

Install and import from the "@langchain/redis" integration package instead. Type for creating a flat schema vector field. It extends CreateSchemaVectorField with a block size property.