Managed LangCache-backed semantic cache.
This uses redisvl.extensions.cache.llm.LangCacheSemanticCache (a wrapper over the
managed LangCache API). The optional dependency langcache must be installed at
runtime when this class is used.
Install with either pip install 'langchain-redis[langcache]' or
pip install langcache.
Redis cache implementation for LangChain.
This class provides a Redis-based caching mechanism for LangChain, allowing storage and retrieval of language model responses.
Redis-based semantic cache implementation for LangChain.
This class provides a semantic caching mechanism using Redis and vector similarity search. It allows for storing and retrieving language model responses based on the semantic similarity of prompts, rather than exact string matching.
Redis-based implementation of chat message history using RedisVL.
This class provides a way to store and retrieve chat message history using Redis with RedisVL for efficient indexing, querying, and document management.
Configuration class for Redis vector store settings.
This class defines the configuration parameters for setting up and interacting with a Redis vector store. It uses Pydantic for data validation and settings management.
Redis vector store integration.
Redis vector store.
Redis cache implementation for LangChain.