Skip to content

Abstract-Dex/Contextual-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contextual-RAG

This is an implementation of a RAG system that uses Contextual Retrieval to improve the performance of the system. The system is based on the traditional RAG system, but it uses a Contextual Embedding model to retrieve the relevant documents for the answer generation. See more here

The system accepts any kind of document, but is optimized for pdf files.

Files

  • rag-app.py: The main file of the system. It contains the code to run the web server and the system.
  • The utils folder contains the code to process the documents and the queries.

Usage

To use the system, you need to install the dependencies run the script:

pip install -r requirements.txt

Then you can run the system using the following command:

python rag-app.py

The system will start a web server that you can access using your browser.

About

A RAG System with contextual retrieval

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages