langchain-redis: 0.1.1#

cache#

Classes

cache.EmbeddingsVectorizer(embeddings)

Create a new model by parsing and validating input data from keyword arguments.

cache.RedisCache([redis_url, ttl, prefix, ...])

Redis cache implementation for LangChain.

cache.RedisSemanticCache(embeddings[, ...])

Redis-based semantic cache implementation for LangChain.

chat_message_history#

Classes

chat_message_history.RedisChatMessageHistory(...)

Redis-based implementation of chat message history.

config#

Classes

config.RedisConfig

Configuration class for Redis vector store settings.

Functions

vectorstores#

Classes

vectorstores.RedisVectorStore(embeddings[, ...])

Redis vector store integration.

Functions

vectorstores.cosine_similarity(X, Y)

Row-wise cosine similarity between two equal-width matrices.

vectorstores.maximal_marginal_relevance(...)

Calculate maximal marginal relevance.