langchain.js
    Preparing search index...
    type UpstashRedisCacheProps = {
        client?: Redis;
        config?: RedisConfigNodejs;
        ttl?: number;
    }
    Index

    Properties

    Properties

    client?: Redis

    An existing Upstash Redis client.

    config?: RedisConfigNodejs

    The config to use to instantiate an Upstash Redis client.

    ttl?: number

    Time-to-live (TTL) for cached items in seconds.