Deployable question-answering system that allows users to upload a PDF and ask natural language questions using a Retrieval-Augmented Generation pipeline.
qa-bot-rag/
├── app/
│ ├── main.py
│ ├── rag_pipeline.py
│ └── config.py
├── ui/
│ └── gradio_app.py
├── requirements.txt
├── Dockerfile
├── docker-compose.yml
└── README.md
- loads a PDF
- splits it into chunks
- embeds the chunks
- stores them in Chroma
- retrieves relevant chunks
- generates an answer with an LLM
pip install -r requirements.txt
python ui/gradio_app.pyuvicorn app.main:app --reloaddocker build -t rag-bot .
docker run -p 8000:8000 rag-bot