Skip to content

SalwaMustafa/Mini-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-RAG

Implementation of Mini-RAG application based on Abu-Bakr Soliman's tutorial. Leveraging the principles outlined in the tutorial, this repo demonstrates the integration of retrieval-augmented generation (RAG) with a minimal setup, suitable for experimentation and further development.

Requirements

  • python 3.8 or later

Install python using Miniconda

  1. Download and install Miniconda
  2. Create a new environment using the following command:
$ conda create -n Mini-RAG-App python=3.8
  1. Activate the environment:
$ conda activate Mini-RAG-App

Installation

Install the required packages

$ pip install -r requirements.txt

Setup the environment variables

$ cp .env.example .env

set your environment variables in the '.env' file like 'OPENAI_API_KEY' value.

Run the FastAPI server

$ uvicorn main:app --reload --host 0.0.0.0 --port 5000

Run Docker Compose Services

$ cd docker
$ cp .env.example .env

About

Implementation of Mini-RAG application based on Abu-Bakr Soliman's tutorial. Leveraging the principles outlined in the tutorial, this repo demonstrates the integration of retrieval-augmented generation (RAG) with a minimal setup, suitable for experimentation and further development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages