Cognee can use Redis as a vector store backend through this community-maintained adapter.
Installation
This adapter is a separate package from core Cognee. Before installing, complete the Cognee installation and ensure your environment is configured with LLM and embedding providers. After that, install the adapter package:Configuration
- Docker (Local)
- Redis Cloud
- Redis with SSL
Run a local Redis instance with the Search module enabled:Configure in Python:Or via environment variables:
Important Notes
Adapter Registration
Adapter Registration
Import
register from the adapter package before using Redis with Cognee. This registers the adapter with Cognee’s provider system.Troubleshooting
Troubleshooting
- Connection Errors: Ensure Redis is running and accessible at the specified URL
- Search Module Missing: Make sure Redis has the Search module enabled
- Embedding Dimension Mismatch: Verify embedding engine dimensions match index configuration
- Collection Not Found: Always create collections before adding data points
Resources
RedisVL Docs
RedisVL library documentation (powers this adapter)
Adapter Source
GitHub repository
Extended Example
Full usage example script
Vector Stores
Official vector providers
Community Overview
All community integrations
Setup Overview
Configuration guide