This is not just a basic “chat with AI” demo.
It’s a full website chatbot system that can be trained on a business’s own files, answer customer questions, capture leads, and be embedded onto any website with a simple JavaScript snippet.
I’ll break down how it works, how a business could use it, and how you could package something like this as an AI solution for clients.
We’ll cover:
- how the chatbot works behind the scenes
- how files get uploaded and turned into searchable knowledge
- how RAG and vector search work in plain English
- how the website embed widget works
- how lead capture and usage limits work
- the stack I used: Next.js, Clerk, Supabase, pgvector, Mastra, OpenAI, and JavaScript
- how you could sell this to businesses
Drop any questions you want me to cover below.