Mavic
An AI chatbot SaaS platform turning business docs and store data into instant answers using RAG, OpenAI, BullMQ queues, embeddable web widgets, and WhatsApp/Shopify integrations.
The Challenge
Automating Support with Contextual AI Knowledge Bases
E-commerce stores and software companies face overwhelming support ticket volumes for routine customer queries. Traditional generic chatbots hallucinate or fail to understand store inventory and company-specific policies. Mavic solves this by converting business documents, PDFs, FAQs, and Shopify product catalogs into searchable vector knowledge bases — employing Retrieval-Augmented Generation (RAG) and OpenAI models to deliver accurate, contextual answers instantly via embeddable website widgets and WhatsApp automation.
Key Features Delivered
Production capabilities spanning RAG retrieval, OpenAI LLM processing, BullMQ async queues, and commerce integrations.
Mavic Platform
Extracts context from uploaded business docs & vector indices to answer customer questions accurately.
RAG Knowledge Retrieval Engine
Mavic Platform
Utilizes OpenAI models with prompt engineering to deliver fast, human-like, zero-hallucination customer support.
OpenAI GPT Response Pipeline
Mavic Platform
Visual builder allowing businesses to customize bot personas, greeting flows, theme colors, and fallback logic.
Customizable Chatbot Builder
Mavic Platform
Drop-in zero-dependency JavaScript snippet for external websites with real-time streaming chat capability.
Embeddable Website Widget
Mavic Platform
Direct API connectivity with WhatsApp Business and Shopify catalogs for automated product lookup & order tracking.
WhatsApp & Shopify Integrations
Mavic Platform
Redis-backed BullMQ workers handling background PDF parsing, web crawling, chunking, and vector index generation.
BullMQ Document Processing Queue
Knowledge Retrieval
Vector retrieval-augmented generation matching relevant knowledge base chunks to customer queries.
Background Processing
Redis-powered async queue system for non-blocking document ingestion and WhatsApp message dispatch.
LLM Core
OpenAI GPT models for contextual reasoning, automated query resolution, and store catalog matching.
PostgreSQL ORM
Multi-tenant database schema managing workspace isolation, API keys, usage analytics & billing.
My Role & Contribution
Solo AI SaaS Architecture
Built Mavic solo from initial concept to a production-ready multi-tenant SaaS platform — designing the RAG knowledge retrieval pipeline, Shopify store catalog sync, WhatsApp automation, and token usage analytics.
BullMQ, Prisma & OpenAI System Engine
Engineered non-blocking BullMQ background workers for document chunking and vector indexing, paired with a React / TypeScript administrative dashboard featuring live chatbot previews and widget configuration.
Redis-backed background document processing & indexing workers.
Contextual vector search + GPT prompt orchestration.
Zero-dependency lightweight JS snippet with streaming responses.
Automated catalog sync & WhatsApp customer messaging workflows.
Doc Chunks / Tenant
Parsed knowledge chunks stored in searchable vector index.
Integration Channels
Web Widget, WhatsApp, Shopify, Webhooks & REST APIs.
Async Queue Tasks
Non-blocking document parsing & message queue jobs.
Mavic AI SaaS Architecture
RAG knowledge ingestion, embeddable JS widgets, WhatsApp API, and BullMQ task queues.