Redis Vector Library (RedisVL)#
RedisVL provides a powerful, dedicated Python client library for using Redis as a Vector Database. Leverage the speed and reliability of Redis along with vector-based semantic search capabilities to supercharge your application!
Index Management
Manipulate Redis search indices in Python or from CLI.
Vector Similarity Search
Perform powerful vector similarity search with filtering support.
Embedding Creation
Use OpenAI or any of the other supported vectorizers to create embeddings.
CLI
Interact with RedisVL using a Command line interface (CLI) for ease of use.
Semantic Caching
Use RedisVL to cache LLM results, increasing QPS and decreasing cost.
Example Gallery
Explore our gallery of examples to get started.
Installation#
Install redisvl
into your Python (>=3.8) environment using pip
:
pip install redisvl
Then make sure to have Redis accessible with Search & Query features enabled on Redis Cloud or locally in docker with Redis Stack:
docker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest
This will also spin up the Redis Insight GUI at http://localhost:8001
.