You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No faster way to get started than by diving in and playing around with one of our demos.
25
+
##Demos
26
+
No faster way to get started than by diving in and playing around with a demo.
38
27
39
28
| Demo | Description |
40
29
| --- | --- |
41
-
|[Redis RAG Workbench](https://github.com/redis-developer/redis-rag-workbench)| Interactive demo to build a RAG-based chatbot over an arbitrary PDF. Toggle different settings and configurations to improve chatbot performance and quality. Integrates RedisVL, LangChain, RAGAs, and more. |
30
+
|[Redis RAG Workbench](https://github.com/redis-developer/redis-rag-workbench)| Interactive demo to build a RAG-based chatbot over a user-uploaded PDF. Toggle different settings and configurations to improve chatbot performance and quality. Utilizes RedisVL, LangChain, RAGAs, and more. |
42
31
|[ArxivChatGuru](https://github.com/redis-developer/ArxivChatGuru)| Streamlit demo of RAG over Arxiv documents with Redis & OpenAI |
**Retrieval Augmented Generation** (aka RAG) is a technique to enhance the ability of an LLM to respond to user queries. The **retrieval** part of RAG is supported by a vector database, which can return semantically relevant results to a user’s query, serving as contextual information to **augment** the **generative** capabilities of an LLM.
63
54
@@ -68,84 +59,86 @@ To get started with RAG, either from scratch or using a popular framework like L
68
59
|[/RAG/01_redisvl.ipynb](python-recipes/RAG/01_redisvl.ipynb)| RAG from scratch with the Redis Vector Library |
69
60
|[/RAG/02_langchain.ipynb](python-recipes/RAG/02_langchain.ipynb)| RAG using Redis and LangChain |
70
61
|[/RAG/03_llamaindex.ipynb](python-recipes/RAG/03_llamaindex.ipynb)| RAG using Redis and LlamaIndex |
71
-
|[/RAG/04_advanced_redisvl.ipynb](python-recipes/RAG/04_advanced_redisvl.ipynb)| Advanced RAG with redisvl|
72
-
|[/RAG/05_nvidia_ai_rag_redis.ipynb](python-recipes/RAG/05_nvidia_ai_rag_redis.ipynb)| RAG using Redis and Nvidia |
73
-
|[/RAG/06_ragas_evaluation.ipynb](python-recipes/RAG/06_ragas_evaluation.ipynb)| Utilize RAGAS framework to evaluate RAG performance |
|[/RAG/05_nvidia_ai_rag_redis.ipynb](python-recipes/RAG/05_nvidia_ai_rag_redis.ipynb)| RAG using Redis and Nvidia NIMs |
64
+
|[/RAG/06_ragas_evaluation.ipynb](python-recipes/RAG/06_ragas_evaluation.ipynb)| Utilize the RAGAS framework to evaluate RAG performance |
74
65
75
-
## LLM Session Management
66
+
###LLM Memory
76
67
LLMs are stateless. To maintain context within a conversation chat sessions must be stored and resent to the LLM. Redis manages the storage and retrieval of chat sessions to maintain context and conversational relevance.
77
68
| Recipe | Description |
78
69
| --- | --- |
79
70
|[/llm-session-manager/00_session_manager.ipynb](python-recipes/llm-session-manager/00_llm_session_manager.ipynb)| LLM session manager with semantic similarity |
80
71
|[/llm-session-manager/01_multiple_sessions.ipynb](python-recipes/llm-session-manager/01_multiple_sessions.ipynb)| Handle multiple simultaneous chats with one instance |
81
72
82
-
## Semantic Cache
73
+
###Semantic Cache
83
74
An estimated 31% of LLM queries are potentially redundant ([source](https://arxiv.org/pdf/2403.02694)). Redis enables semantic caching to help cut down on LLM costs quickly.
84
75
85
76
| Recipe | Description |
86
77
| --- | --- |
87
78
|[/semantic-cache/doc2cache_llama3_1.ipynb](python-recipes/semantic-cache/doc2cache_llama3_1.ipynb)| Build a semantic cache using the Doc2Cache framework and Llama3.1 |
88
79
|[/semantic-cache/semantic_caching_gemini.ipynb](python-recipes/semantic-cache/semantic_caching_gemini.ipynb)| Build a semantic cache with Redis and Google Gemini |
89
80
90
-
## Advanced RAG
91
-
For further insights on enhancing RAG applications with dense content representations, query re-writing, and other techniques.
92
81
93
-
| Recipe | Description |
94
-
| --- | --- |
95
-
[/RAG/04_advanced_redisvl.ipynb](python-recipes/RAG/04_advanced_redisvl.ipynb) | Notebook for additional tips and techniques to improve RAG quality |
[/agents/00_langgraph_redis_agentic_rag.ipynb](python-recipes/agents/00_langgraph_redis_agentic_rag.ipynb) | Notebook to get started with lang-graph and agents |
102
87
[/agents/01_crewai_langgraph_redis.ipynb](python-recipes/agents/01_crewai_langgraph_redis.ipynb) | Notebook to get started with lang-graph and agents |
103
88
104
-
## Recommendation systems
89
+
###Recommendation systems
105
90
106
91
| Recipe | Description |
107
92
| --- | --- |
108
-
|[/recommendation-systems/content_filtering.ipynb](python-recipes/recommendation-systems/00_content_filtering.ipynb)| Intro content filtering example with redisvl |
109
-
|[/recommendation-systems/collaborative_filtering.ipynb](python-recipes/recommendation-systems/01_collaborative_filtering.ipynb)| Intro collaborative filtering example with redisvl |
93
+
|[/recommendation-systems/00_content_filtering.ipynb](python-recipes/recommendation-systems/00_content_filtering.ipynb)| Intro content filtering example with redisvl |
94
+
|[/recommendation-systems/01_collaborative_filtering.ipynb](python-recipes/recommendation-systems/01_collaborative_filtering.ipynb)| Intro collaborative filtering example with redisvl |
110
95
111
-
### See also
112
-
An exciting example of how Redis can power production-ready systems is highlighted in our collaboration with [NVIDIA](https://developer.nvidia.com/blog/offline-to-online-feature-storage-for-real-time-recommendation-systems-with-nvidia-merlin/) to construct a state-of-the-art recommendation system.
113
96
114
-
Within [this repository](https://github.com/redis-developer/redis-nvidia-recsys), you'll find three examples, each escalating in complexity, showcasing the process of building such a system.
97
+
## Tutorials
98
+
Need a *deeper-dive* through different use cases and topics?
115
99
100
+
| Tutorial | Description |
101
+
| -------- | ------------ |
102
+
|[RAG on VertexAI](https://github.com/redis-developer/gcp-redis-llm-stack/tree/main)| A RAG tutorial featuring Redis with Vertex AI |
103
+
|[Agentic RAG](https://github.com/redis-developer/agentic-rag)| A tutorial focused on agentic RAG with LlamaIndex and Cohere |
104
+
|[Recommendation Systems w/ NVIDIA Merlin & Redis]((https://github.com/redis-developer/redis-nvidia-recsys))| Three examples, each escalating in complexity, showcasing the process of building a realtime recsys with NVIDIA and Redis |
116
105
117
-
# Integrations/Tools
118
-
-[⭐ RedisVL](https://github.com/redis/redis-vl-python) - a dedicated Python client lib for Redis as a Vector DB.
119
-
-[⭐ AWS Bedrock](https://redis.io/docs/latest/integrate/amazon-bedrock/) - Streamlines GenAI deployment by offering foundational models as a unified API.
120
-
-[⭐ LangChain Python](https://github.com/langchain-ai/langchain) - popular Python client lib for building LLM applications.
121
-
powered by Redis.
122
-
-[⭐ LangChain JS](https://github.com/langchain-ai/langchainjs) - popular JS client lib for building LLM applications.
123
-
powered by Redis.
124
-
-[⭐ LlamaIndex](https://gpt-index.readthedocs.io/en/latest/examples/vector_stores/RedisIndexDemo.html) - LlamaIndex Integration for Redis as a vector Database (formerly GPT-index).
125
-
-[Semantic Kernel](https://github.com/microsoft/semantic-kernel/tree/main) - popular lib by MSFT to integrate LLMs with plugins.
126
-
-[RelevanceAI](https://relevance.ai/) - Platform to ag, search and analyze unstructured data faster, built on Redis.
127
-
-[DocArray](https://docs.docarray.org/user_guide/storing/index_redis/) - DocArray Integration of Redis as a VectorDB by Jina AI.
128
106
107
+
## Integrations
108
+
Redis integrates with many different players in the AI ecosystem. Here's a curated list below:
129
109
130
-
# Additional content
110
+
| Integration | Description |
111
+
| --- | --- |
112
+
|[RedisVL](https://github.com/redis/redis-vl-python)| A dedicated Python client lib for Redis as a Vector DB |
113
+
|[AWS Bedrock](https://redis.io/docs/latest/integrate/amazon-bedrock/)| Streamlines GenAI deployment by offering foundational models as a unified API |
114
+
|[LangChain Python](https://github.com/langchain-ai/langchain)| Popular Python client lib for building LLM applications powered by Redis |
115
+
|[LangChain JS](https://github.com/langchain-ai/langchainjs)| Popular JS client lib for building LLM applications powered by Redis |
116
+
|[LlamaIndex](https://gpt-index.readthedocs.io/en/latest/examples/vector_stores/RedisIndexDemo.html)| LlamaIndex Integration for Redis as a vector Database (formerly GPT-index) |
117
+
|[LiteLLM](https://www.litellm.ai/)| Popular LLM proxy layer to help manage and streamline usage of multiple foundation models |
118
+
|[Semantic Kernel](https://github.com/microsoft/semantic-kernel/tree/main)| Popular lib by MSFT to integrate LLMs with plugins |
119
+
|[RelevanceAI](https://relevance.ai/)| Platform to tag, search and analyze unstructured data faster, built on Redis |
120
+
|[DocArray](https://docs.docarray.org/user_guide/storing/index_redis/)| DocArray Integration of Redis as a VectorDB by Jina AI |
121
+
122
+
123
+
## Content
131
124
-[Vector Similarity Search: From Basics to Production](https://mlops.community/vector-similarity-search-from-basics-to-production/) - Introductory blog post to VSS and Redis as a VectorDB.
132
-
-[AI-Powered Document Search](https://datasciencedojo.com/blog/ai-powered-document-search/) - Blog post covering AI Powered Document Search Use Cases & Architectures.
133
-
-[Vector Search on Azure](https://techcommunity.microsoft.com/t5/azure-developer-community-blog/vector-similarity-search-with-azure-cache-for-redis-enterprise/ba-p/3822059) - Using Azure Redis Enterprise for Vector Search
125
+
-[Improving RAG quality with RAGAs](https://redis.io/blog/get-better-rag-responses-with-ragas/)
126
+
-[Level-up RAG with RedisVL](https://redis.io/blog/level-up-rag-apps-with-redis-vector-library/)
134
127
-[Vector Databases and Large Language Models](https://youtu.be/GJDN8u3Y-T4) - Talk given at LLMs in Production Part 1 by Sam Partee.
135
128
-[Vector Databases and AI-powered Search Talk](https://www.youtube.com/watch?v=g2bNHLeKlAg) - Video "Vector Databases and AI-powered Search" given by Sam Partee at SDSC 2023.
136
-
-[Engineering Lab Review](https://mlops.community/redis-vector-search-engineering-lab-review/) - Review of the first Redis VSS Hackathon.
137
129
-[Real-Time Product Recommendations](https://jina.ai/news/real-time-product-recommendation-using-redis-and-docarray/) - Content-based recsys design with Redis and DocArray.
130
+
-[NVIDIA Recsys with Redis](https://developer.nvidia.com/blog/offline-to-online-feature-storage-for-real-time-recommendation-systems-with-nvidia-merlin/)
138
131
-[LabLab AI Redis Tech Page](https://lablab.ai/tech/redis)
139
132
-[Storing and querying for embeddings with Redis](https://blog.baeke.info/2023/03/21/storing-and-querying-for-embeddings-with-redis/)
140
133
-[Building Intelligent Apps with Redis Vector Similarity Search](https://redis.com/blog/build-intelligent-apps-redis-vector-similarity-search/)
141
-
-[RedisDays Keynote](https://www.youtube.com/watch?v=EEIBTEpb2LI) - Video "Infuse Real-Time AI Into Your "Financial Services" Application".
142
134
-[RedisDays Trading Signals](https://www.youtube.com/watch?v=_Lrbesg4DhY) - Video "Using AI to Reveal Trading Signals Buried in Corporate Filings".
143
135
144
-
# Benchmarks
136
+
##Benchmarks
145
137
-[Benchmarking results for vector databases](https://redis.io/blog/benchmarking-results-for-vector-databases/) - Benchmarking results for vector databases, including Redis and 7 other Vector Database players.
146
138
-[ANN Benchmarks](https://ann-benchmarks.com) - Standard ANN Benchmarks site. *Only using single Redis OSS instance/client.*
-[Redis Vector Similarity Docs](https://redis.io/docs/interact/search-and-query/advanced-concepts/vectors/) - Official Redis literature for Vector Similarity Search.
151
144
-[Redis-py Search Docs](https://redis.readthedocs.io/en/latest/redismodules.html#redisearch-commands) - Redis-py client library docs for RediSearch.
0 commit comments