langchain.js
    Preparing search index...

    Install and import from the "@langchain/redis" integration package instead. Interface for the configuration of the RedisVectorStore. It includes the Redis client, index name, index options, key prefix, content key, metadata key, vector key, and filter.

    interface RedisVectorStoreConfig {
        contentKey?: string;
        createIndexOptions?: Omit<RedisVectorStoreIndexOptions, "PREFIX">;
        filter?: RedisVectorStoreFilterType;
        indexName: string;
        indexOptions?: CreateSchemaFlatVectorField | CreateSchemaHNSWVectorField;
        keyPrefix?: string;
        metadataKey?: string;
        redisClient:
            | RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>
            | RedisClusterType<{} & RedisModules, RedisFunctions, RedisScripts>;
        vectorKey?: string;
    }
    Index

    Properties

    contentKey?: string
    createIndexOptions?: Omit<RedisVectorStoreIndexOptions, "PREFIX">
    indexName: string
    keyPrefix?: string
    metadataKey?: string
    redisClient:
        | RedisClientType<{} & RedisModules, RedisFunctions, RedisScripts>
        | RedisClusterType<{} & RedisModules, RedisFunctions, RedisScripts>
    vectorKey?: string