Combines RAG knowledge retrieval, real-time sentiment detection, and 11-language support to deliver instant, accurate, empathetic support — 24/7.
Built with
Six capabilities engineered to make every customer interaction faster, smarter, and more human — without a human.
24+ FAQ chunks parsed, keyword-scored, and filtered. Only the top-5 sections relevant to each query are injected — grounded answers, zero hallucinations.
130+ keyword dictionary across 4 tiers. ALL CAPS amplification, conversation context weighting, 30 hard escalation triggers. Zero latency.
Unicode script-range detection plus Latin word patterns. Full RTL flip for Arabic. Translated UI in 11 languages. Gemini replies in whatever language you type.
Pulsing red banner with countdown timer, call button, and email transcript form. Fires automatically on anger, legal threats, or chargeback mentions.
Three category-colour-coded reply chips after every response. Staggered entrance animation. Keyboard navigation. Skeleton loading while streaming.
Live Recharts: daily volume, sentiment donut, language bars, top issues, escalation queue. Supabase-backed with realistic seed data for instant demos.
In any language, any frustration level. Language is auto-detected via Unicode and sentiment is scored — before a single token hits Gemini.
Knowledge base is chunked and scored against the query. Top-5 relevant sections are injected. System prompt gets emotional context for angry users.
Gemini streams back. Server buffers, strips SUGGESTIONS and [ESCALATE] markers, then re-streams clean text with a natural word-by-word delay.
RAG, sentiment analysis, and multilingual NLP — each independently novel, together forming a cohesive intelligent support system.
Full TypeScript — Message, SentimentScore, AnalyticsData interfaces shared across client, server, and DB.
Server buffers full Gemini response, parses metadata, re-streams clean content word-by-word at 14ms/token.
Every Supabase call returns null on failure. App runs perfectly in memory-only mode during demos.
30-turn / 6K-token cap with safe MIN_RECENT_TURNS guarantee. trimHistory() keeps the latest exchange always.
Ask about an order, write in Hindi, trigger an escalation — see every feature working live in under a minute.
Admin password: shopassist2026