Luma Driving Theory Chatbot

AI-powered support chatbot with Gemini API, admin dashboard, and email escalation. Click the chat bubble in the bottom-right corner to try it out.

Quick Start

1. Copy config.php to config.local.php and add your Gemini API key and SMTP credentials.

2. Upload the entire luma-chatbot folder to your PHP-enabled web server.

3. Visit /admin/ to manage the knowledge base (default: admin / changeme123).

4. Embed the chat widget on any page:

<script src="https://yourdomain.com/luma-chatbot/widget/chat-widget.js"
        data-api="https://yourdomain.com/luma-chatbot/api"></script>

Features

✅ Gemini AI integration with Luma FAQ knowledge base

✅ General UK driving theory question support

✅ Admin panel to manage knowledge base entries

✅ SMTP email escalation to human support

✅ Embeddable chat widget for any website

✅ SQLite database — zero external dependencies

✅ Rate limiting and session tracking

✅ Analytics dashboard

Links

Admin Dashboard

Luma Driving Theory Website