//How It's Built

System design behind Chatbase, a personal RAG project that turns any website into an embeddable AI chatbot in a minute. Two flows share the same core: an onboarding/ingestion path that indexes a site, and a live chat path that answers from it.

Onboarding & Ingestion
Website Owner
Domain Verify
& Page Select
Puppeteer Scraper
UA rotation, bot-block bypass
Chunking
Overlapping chunks
Gemini Embeddings
Live Chat
End User
Embeddable
Chat Widget
Query Embedding
& Vector Search
Top-K relevant chunks
Gemini LLM
Streamed, source-grounded
Feedback & Unanswered
Question Capture
both flows share
Pinecone
Vector DB
MongoDB
via Prisma
Chatbots, chats, usage
Cloudinary
Logos & assets
PostHog
Usage analytics
Embeddable WidgetWebsite ScrapingUsage DashboardModel-swappable (Pinecone/Gemini)
Ask About Utkarsh
Hi. I can answer questions about Utkarsh's work, projects, skills and background.