The product problem
A production chatbot must manage source ingestion, retrieval quality, prompt behavior, conversation history, feedback, lead capture, tenant settings, and billing while keeping the end-user interaction fast and brand-consistent.
Document ingestion, retrieval grading, multi-model generation, conversation operations, billing, and a distributable chat widget.
System brief
Multi-model RAG with an embeddable delivery layer
The engineering move
A production chatbot must manage source ingestion, retrieval quality, prompt behavior, conversation history, feedback, lead capture, tenant settings, and billing while keeping the end-user interaction fast and brand-consistent.
Files, websites, sitemaps, YouTube, audio, and text pass through dedicated extraction services before storage and vector indexing. Questions are analyzed, conditionally retrieved, graded for relevance, and generated through a multi-provider model layer. MySQL retains operational state while Pinecone carries semantic memory.
Teams can create, train, style, deploy, and inspect a chatbot from one product. The same knowledge and policy layer powers the hosted experience, API, and copy-paste website bubble.
Delivered capability
PDF, document, web, sitemap, YouTube, audio, and text ingestion
S3 and Google Cloud source storage
Pinecone vector indexing and semantic retrieval
Question analysis, retrieval decisions, and document grading
OpenAI, Gemini, and Anthropic model support
Conversation history, reviews, and QA refinement
Appearance, access, leads, prompt, and source controls
Stripe billing, Docker services, nginx, and embed widget
Full system flow
Rendering the reviewed system flow
Production architecture
The Next.js console manages sources, prompts, appearance, access rules, lead settings, inbox, and deployment options.
Dedicated services extract documents, websites, sitemaps, YouTube, audio, and text before durable storage and chunking.
Embeddings and source metadata are written to Pinecone with lifecycle utilities for refresh and deletion.
Question analysis, retrieve decisions, document grading, and no-data paths reduce unsupported answers before generation.
OpenAI, Gemini, and Anthropic providers generate responses while conversation history and user feedback remain inspectable.
The hosted product, generic API, and bundled bubble share the same bot configuration behind nginx and Docker Compose.
Engineering judgment
The flow can analyze, retrieve, grade, generate, or take an explicit no-data path instead of blindly stuffing context.
Media conversion and source extraction can scale or fail independently from the interactive chat path.
Appearance is only one layer. Access, prompts, lead rules, model settings, and sources are tenant-controlled.
Technical constellation
Live product and source reviewed on 2026-07-16. The public link is provided as evidence, while protected product areas correctly remain behind authentication.
Open Grounded AI ChatbotContinue through the project archive
Next caseWeb Scraping Automation Engine