CreateSchemaFlatVectorField: CreateSchemaVectorField<VectorAlgorithms.FLAT, {
    BLOCK_SIZE?: 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.