Skip to content

Latest commit

 

History

History

Advance_RAG_LOTR

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Better RAG with LOTR - Lord of the Retriever

Overview

This repository contains resources and code for enhancing Retrieval-Augmented Generation (RAG) systems using a novel approach termed LOTR (Lord of the Retriever). The primary focus is on addressing the 'Lost in the Middle' (LIM) challenge in RAG systems, particularly in the context of medical/healthcare data.

Features

Advanced Retrieval Techniques: Utilizes multiple vector stores and the Merge Retriever approach to efficiently retrieve relevant documents. LOTR - Merger Retriever: Combines results from various retrievers to form a comprehensive, relevant document list. LongContextReorder (LOTR): Reorders information to ensure equal attention to all parts of the text. Domain-Specific Embeddings: Incorporates specialized embeddings for medical and healthcare-related data.

code

Colab walkthrough for LOTR Open In Colab

Learn deeper in Our Blog

For a deeper dive into the cutting-edge technologies of FLARE, and to access detailed technical knowledge, check out our Medium Blog.

Read the Blog Post