doc-rag is a Retrieval-Augmented Generation playground that lets you chat with your own documents. 📝🤖 Upload PDFs or snippets, the backend indexes them and uses LLMs to answer your questions while the frontend provides a clean chat UI.
- 🐳 Docker Compose orchestrates the services
- 🐍 FastAPI + MongoDB for the backend
- 🖥️ Vite + Vue 3 for the frontend
- Ensure the environment files are in place:
backend/.env.docker
already exists with sane defaults—tweak it if needed.- Copy the frontend example file:
cp frontend/.env.example frontend/.env
- Build and launch the stack:
This pulls up MongoDB, the backend, the frontend build container and an Nginx server on port 80.
docker compose up --build
For more ways to run the project and development tips, see the backend README and the frontend README.