For more info:
The repository contains a project based on RAG systems. To set up the required dependencies for the code, use the command below:
pip install -r requirements.txt
You can use the RAG system by running the file RAGwithoutFastAPI.py :
python RAGwithoutFastAPI.py
If you want to use it with Fast API, follow these instructions:
uvicorn main:app --reload
Also, you need a .env file for OPENAI_API_KEY and PINECOINE_API_KEY:
OPENAI_API_KEY = 'YOUR_API_KEY'
PINECONE_API_KEY = 'YOUR_API_KEY'
PINECONE_ENVIRONMENT = 'YOUR_ENVIRONMENT'