//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
& Page Select
Puppeteer Scraper
UA rotation, bot-block bypass
Chunking
Overlapping chunks
Gemini Embeddings
Live Chat
End User
Embeddable
Chat Widget
Chat Widget
Query Embedding
& Vector Search
& Vector Search
Top-K relevant chunks
Gemini LLM
Streamed, source-grounded
Feedback & Unanswered
Question Capture
Question Capture
both flows share
Pinecone
Vector DB
MongoDB
via Prisma
via Prisma
Chatbots, chats, usage
Cloudinary
Logos & assets
PostHog
Usage analytics
Ask About Utkarsh