A mini AI-powered customer support chat agent built using TypeScript, CSS, and HTML. It features a real-time chat UI, conversation persistence, robust error handling, and a responsive design. The AI agent uses Google's Gemini 2.0 Flash to answer questions about a fictional e-commerce store.
From the README
Spur AI Live Chat Agent A mini AI-powered customer support chat agent built as a take-home project for Spur. Users interact with an AI support agent through a beautiful live chat widget. The agent answers questions about a fictional e-commerce store ("Stellar Gadgets") using Google's Gemini 2.0 Flash. Features • 🤖 AI-powered support agent — Answers customer questions using Google Gemini 2.0 Flash • 💬 Real-time chat UI — Floating widget with smooth animations and typing indicator • 📝 Conversation persistence — Messages stored in SQLite, sessions survive page reloads • 🛡️ Robust error handling — Graceful fallbacks for API errors, timeouts, rate limits • 📱 Responsive design — Works on...
Skills
- TypeScript
- CSS
- HTML