# langchain_redis

> Python package

📖 [View in docs](https://reference.langchain.com/python/langchain-redis)

## Classes

- [`RedisChatMessageHistory`](https://reference.langchain.com/python/langchain-redis/chat_message_history/RedisChatMessageHistory)
- [`RedisConfig`](https://reference.langchain.com/python/langchain-redis/config/RedisConfig)
- [`RedisVectorStore`](https://reference.langchain.com/python/langchain-redis/vectorstores/RedisVectorStore)
- [`EmbeddingsVectorizer`](https://reference.langchain.com/python/langchain-redis/cache/EmbeddingsVectorizer)
- [`RedisCache`](https://reference.langchain.com/python/langchain-redis/cache/RedisCache)
- [`RedisSemanticCache`](https://reference.langchain.com/python/langchain-redis/cache/RedisSemanticCache)
- [`LangCacheSemanticCache`](https://reference.langchain.com/python/langchain-redis/cache/LangCacheSemanticCache)

## Functions

- [`cosine_similarity()`](https://reference.langchain.com/python/langchain-redis/vectorstores/cosine_similarity)
- [`maximal_marginal_relevance()`](https://reference.langchain.com/python/langchain-redis/vectorstores/maximal_marginal_relevance)

## Types

- [`Matrix`](https://reference.langchain.com/python/langchain-redis/vectorstores/Matrix)
