This is aminial implementation of the RAG model for question answering.
- python 3.8 or later
-
Download and install Miniconda from [here] (https:// docs.anaconda.com/free/Miniconda/# quick-cpmmand-line-install)
-
Create a new environment using the following command :
$ conda create -n mini-rag python=3.8
-
Activate the environment :
$ conda activate mini-rag-app
-
Deactivate environment
$ conda deactivate
pip install -r requirements.txtcp .env.example .envSet your invrionment variable in the .env file. like OPEMAI_API_KYE value.