March 2025 Summaries
7 posts from Redis
Filter
Month:
Year:
Post Summaries
Back to Blog
RAG systems combine a vector database with a large language model (LLM) to achieve optimal performance, but mastering this requires deeper understanding and fine-tuning beyond basic setups. Rerankers are specialized components that refine search results in a second evaluation stage, improving the quality and ranking of outputs. Fine-tuning rerankers is a logical progression after working with embeddings and offers a powerful approach to enhancing how systems interpret and prioritize information. A Cross-Encoder model can be used for sentence pair classification tasks, including reranking search results, allowing deeper interaction between input texts.
Mar 31, 2025
507 words in the original blog post.
LangGraph has integrated Redis' powerful memory capabilities to build more effective AI agents with persistent memory across conversations and sessions. This collaboration enables developers to leverage thread-level persistence and cross-thread memory, allowing agents to remember context, learn from experiences, and make better decisions over time. The `langgraph-checkpoint-redis` package provides two core capabilities: RedisSaver for thread-level persistence and RedisStore for cross-thread memory. These features support both synchronous and asynchronous APIs, making it easy to adopt the integration into various application architectures. With simplicity and clarity in mind, this package gives developers straightforward, performant memory solutions that can be composed into sophisticated agent architectures. By combining LangGraph's agentic workflows with Redis' powerful memory capabilities, developers can build AI agents that feel more natural, responsive, and personalized.
Mar 28, 2025
871 words in the original blog post.
Redis offers significant improvements over OpenSearch in terms of speed and scalability, making it a better choice for GenAI applications that require real-time performance. Unlike OpenSearch, Redis provides a comprehensive platform with caching, semantic routing, short-term memory, session storage, and distributed state management, eliminating the need for manual sharding, index tuning, reindexing overhead, or backup scaling challenges. With its cloud-agnostic deployment options and flexibility to meet compliance needs, Redis is an attractive choice for organizations operating in regulated industries or regions with strict data residency requirements. Additionally, Redis Cloud eliminates operational overhead associated with managing AI infrastructure, allowing teams to focus on AI development rather than database management.
Mar 27, 2025
563 words in the original blog post.
Redis 8 Community Edition has successfully scaled its vector search capabilities to handle a billion vectors, maintaining high precision and low latency. The benchmarking results show that Redis can achieve 90% precision with a median latency of 200ms and 95% precision with a median latency of 1.3 seconds for the top 100 nearest neighbors when executing 50 search queries concurrently. The vector database's performance is demonstrated on a dataset consisting of one billion 768-dimensional vectors, using FLOAT16 precision and 10K queries with 100 ground truth (exact neighbors) per query. Redis can sustain high ingestion rates of up to 160K vector insertions per second for indexing configurations that result in lower precisions, while maintaining real-time latency. The performance is further improved by tuning the HNSW parameters, which allows balancing precision, latency, and throughput to fit specific use cases.
Mar 07, 2025
598 words in the original blog post.
The text discusses the evaluation of information retrieval systems using the Normalized Discounted Cumulative Gain (NDCG) metric. NDCG assesses retrieval quality by assigning ground truth ranks to database elements based on relevance, with higher penalties for irrelevant items ranked higher. The authors use Redis vector database and RedisVL as a python client library to evaluate two models: a base model and a fine-tuned model. The fine-tuned model outperforms the base model in terms of ranking performance and overall accuracy, achieving an average NDCG score of 0.60 compared to the base model's 0.49. The results indicate that the fine-tuned model frequently places the correct answer in the top rank and achieves better ranking performance.
Mar 06, 2025
654 words in the original blog post.
The text discusses the importance of fine-tuning embedding models for specific domains like finance to improve question-answering systems. Generic models often lack domain-specific knowledge, which can lead to inaccurate information retrieval. Fine-tuning with domain-specific datasets or pre-trained models helps capture nuanced language patterns and concepts, resulting in more accurate retrieval and stronger NLP performance. The text also highlights the use of loss functions like MultipleNegativesRankingLoss and SentenceTransformerTrainingArguments to train embedding models for specific domains. Additionally, it emphasizes the importance of dataset quality and careful curation, as well as staying on top of new embedding models and fine-tuning methods to build smarter applications.
Mar 05, 2025
626 words in the original blog post.
We've covered the latest Redis features and improvements from February, including a private preview of Redis 8.0-M03 with enhanced performance and robustness; a private preview for RDI on Redis Cloud, which enables near real-time syncing of data from external databases; a significant update to RedisVL, our Python-based vector library, featuring core stability and performance improvements; and a new integration with LangChain, making it simple to use Redis for production-grade vector search, caching, and conversational state management.
Mar 05, 2025
367 words in the original blog post.