The Reranker and the Power of the Prompt Welcome to the fourth installment of our full RAG (Retrieval-Augmented Generation) project. If you’ve followed the series so far, you already know how to prepare documents, build the index, and retrieve relevant results using multiple strategies. Now it’s time to go one level deeper: filtering, refining, and shaping the final answer. This is where one of the most important pieces of the RAG puzzle comes into play:
Continue readingTag: Retrieval-Augmented Generation
Full project: RAG (Retrieval-Augmented Generation) III
Combining Self-Query and MMR Retrievers in RAG Pipelines: A Practical Guide In Retrieval-Augmented Generation (RAG) pipelines, the retriever plays a central role. Before the LLM can generate answers, it needs relevant information — and retrievers are the components in charge of finding it. Whether pulling from a vector database, a search index, or a hybrid of both, retrievers define what information the model can see. In this post, we walk through a Python implementation using
Continue readingFull project: RAG (Retrieval-Augmented Generation) II
Optimizing Document Retrieval for RAG Systems: Enhancing the Search Process for SMEs Using Metadata and PGVector For small and medium-sized businesses (SMEs) in Spain, accessing up-to-date, trustworthy information on government grants and financial support is essential. One effective way to help SMEs navigate this complex landscape is through a Retrieval-Augmented Generation (RAG) model. In this project, I used a specialized resource, the Plataforma Pyme guide to government grants, as the source for a RAG system
Continue reading