Objective
To give a Florida dental brokerage a 24/7 AI assistant on its live website that answers visitor questions accurately, captures leads and books appointments without manual effort.
Solution
A production Retrieval-Augmented Generation (RAG) chatbot built with FastAPI, LangChain, ChromaDB and Google Gemini. It answers from the client's own website content and PDF FAQs (100+ documents indexed), so responses stay grounded in real business information.
Key features
- Automated ingestion pipeline: Selenium web scraping, PDF parsing and embeddings.
- 12-hour APScheduler re-indexing so the knowledge base stays current without manual updates.
- Lead capture to Google Sheets and appointment booking through the Calendly API.
- Live human-agent handoff over WebSockets (python-socketio), with an agent console for real-time session management.
- Floating customer chat widget with markdown rendering and a collapsible contact-options panel.
- Deployed on AWS (Amplify / EC2).
Result
Automated lead capture and scheduling, reducing manual handling by about 80%. Resolved SDK, embedding-API and rate-limit issues in production while handling thousands of customer chats.
Future Scope
Conversation analytics and LLM tracing with Langfuse, multilingual support, and deeper CRM integration.