RAGSphere lets you upload PDF and TXT documents, choose one or more of them, and ask questions. Answers are generated from passages retrieved from only the selected documents, and each answer comes with its sources.
Everything runs locally: a Flask backend, a ChromaDB vector store, and models served by Ollama. It can run directly with Python or through Docker Compose.
- Status
- Functional, Dockerized local application
- Models (via Ollama)
- llama3.2:3b for generation, nomic-embed-text for embeddings
- Backend
- Python, Flask, PyMuPDF for text extraction
- Vector store
- ChromaDB, persistent, cosine similarity
- Frontend
- Plain HTML, CSS and JavaScript
- Deployment
- Local or Docker. A public deployment would need a hosted inference environment (per the README)