A simple implementation of RAG using open source models Checkout my other projects here
-
Step 0 : Create a new environment using Anaconda
conda create -p venv -y
-
Step 1 : Install Ollama here, then install the model
ollama run llama2
-
Step 2 : Install the dependencies
pip install -r requirements.txt
-
Step 3 : Create
.env
file with API KEY from groqGROQ_API_KEY=your_api_key
-
Step 4 : Run the application
streamlit run app.py