
ClearBill.AI: Explaining Medical Bills with AI and RAG
July 2025CompletedAn AI-powered chatbot that uses Retrieval-Augmented Generation (RAG) with Astra DB, LangChain, and Hugging Faceβs Llama-3.1-8B-Instruct to help users understand medical bills with clear, context-aware responses.
- Built with Next.js and TypeScript, featuring a sleek, responsive chat UI for seamless user interaction
- Retrieves answers using semantic search over a vector database populated with scraped healthcare resources
- Uses @xenova/transformers for local embedding and LangChain for intelligent text processing
- Runs LLM inference with Llama-3.1-8B-Instruct via Hugging Face API with context injection
- Includes a custom script to scrape, embed, and load structured healthcare content into Astra DB
- CI/CD pipeline using GitHub Actions for automatic linting and builds on push
πRAGπ€LLMπ§ LangChainπ¦Next.jsπ·TypeScriptπVector SearchποΈAstra DBπ©ΊHealthcare AIπΈοΈWeb ScrapingπPuppeteerπ€Hugging Faceπ¬οΈMistralπ¦Llama-3