About This Project
WebRAG โ Retrieval-Augmented Generation Platform
WebRAG is a full-stack AI application that transforms multiple websites into a searchable knowledge base using Retrieval-Augmented Generation (RAG).
Users can crawl and index multiple websites simultaneously, then ask natural language questions across all indexed content. Every response is grounded in retrieved documents and includes source citations for transparency.
๐ Live Links
๐ Live Demo: https://webrag-frontend.onrender.com
โ๏ธ API: https://webrag-zkg6.onrender.com (~50s cold start on free tier)
๐ป GitHub: https://github.com/Priyanshu-Priya/WebRAG
Features
- ๐ Crawl and index multiple websites simultaneously
- ๐ค Semantic question answering using Retrieval-Augmented Generation (RAG)
- ๐ Perplexity-style source citations for every response
- ๐ Cross-website semantic search
- โก Hybrid crawler using HTTPX with Playwright fallback for JavaScript-heavy websites
- ๐งน Intelligent HTML cleaning with BeautifulSoup
- ๐งฉ Automatic text chunking and embedding generation
- ๐ ChromaDB vector database for semantic retrieval
- ๐ SHA-256 based change detection with incremental re-indexing
- ๐ Content diff reports for updated pages
- ๐ก Real-time indexing progress using WebSockets
- ๐ฑ Responsive React dashboard
Tech Stack
Frontend
- React
- Vite
- Tailwind CSS
- Framer Motion
- Axios
Backend
- FastAPI
- LangChain
- SQLAlchemy
- APScheduler
AI
- Groq (Llama 3.3)
- BAAI/bge-base-en-v1.5
- Sentence Transformers
Storage
- SQLite
- ChromaDB
Outcome
Built a production-ready AI platform capable of maintaining continuously updated knowledge bases from multiple websites while providing accurate, source-grounded answers with automatic freshness handling.
