← All Projects

Shopping Coach

AITypeScriptLLMRAGE-commerce

A grounded AI shopping assistant for any e-commerce store, published as a TypeScript package. It answers shoppers' questions and recommends real products from the store's catalogue, never hallucinated products, prices, or policies. Built around one principle: everything it recommends is validated against the live catalogue, and everything it states about the store comes from facts you give it. Provider-agnostic (auto-detects OpenAI, Anthropic, Gemini, or Groq from the key, with automatic fallback) and framework-free. Running live on SD18 Sports.

Features

  • Grounded recommendations validated against the live catalogue (invented products dropped)
  • Anti-hallucination guardrails: never invents prices, stock, coupons, or delivery promises
  • Multi-provider with one key: OpenAI, Anthropic, Gemini, or Groq, with automatic fallback
  • Framework-free core in pure TypeScript over fetch; Node, edge, and serverless
  • Config, not code: a new store supplies persona, facts, and a catalogue