The final RAG pipeline code is present in src/rag_final_stack_llama_batch.py
-
To setup the requirements, run: pip install -r requirements.txt
-
To run the code, first make sure to set the questions path and documents folder path in the src/rag_final_stack_llama_batch.py file. Feel free to also change the output paths and other hyperpameters configured. Then run the command python3 src/rag_final_stack_llama_batch.py
-
More intermediate files for other pipelines and codes are present in tests/ directory