Schema operation and marker counts for a preview or applied migration.
Redis vector store integration.
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
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 instal
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
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 d
Upgrade a legacy index and backfill its hashed ownership marker.
Preview by default; pass dry_run=False to apply. The index must have a
dedicated document namespace: all indexed documents must be
Row-wise cosine similarity between two equal-width matrices.
Calculate maximal marginal relevance.
Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.