Skip to content

IBRIHEM1992/mini-rag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-rag

This is aminial implementation of the RAG model for question answering.

Requirements

  • python 3.8 or later

Install python Using Miniconda

  1. Download and install Miniconda from [here] (https:// docs.anaconda.com/free/Miniconda/# quick-cpmmand-line-install)

  2. Create a new environment using the following command :

    $ conda create -n mini-rag python=3.8
  3. Activate the environment :

    $ conda activate mini-rag-app
  4. Deactivate environment

    $ conda deactivate

export PS1="[\033[01;32m]\u@\h:\w\n[\033[00m]$"

Insallation

Install the required packages

pip install -r requirements.txt

setup the environment variable

cp .env.example .env

Set your invrionment variable in the .env file. like OPEMAI_API_KYE value.

About

An Educational Project (step by step) to teach how to build a production-ready app for RAG application.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors