AI Support Chatbot

A modular Laravel chatbot system powered by advanced intent detection & Gemini AI

View on GitHub

Overview

AI Support Chatbot is a complete backend chatbot engine built with Laravel. It supports both manual intent detection and AI-powered conversational intelligence using Gemini 2.5 Flash. Designed with scalability in mind, it integrates seamlessly into complex systems and enterprise applications.

Key Features

Intent Detection
Basic & advanced intents for FAQ and Order
AI Integration
Gemini 2.5 Flash for intent + responses
Slot Extraction
Order IDs, attributes, parameters
FAQ Engine
DB-driven responses with caching
Extensible Architecture
Clean modular service structure
Security
Token-based authentication

API Example

{
  "message": "how to get refund?",
  "ai_mode": true
}

Installation

git clone https://github.com/altafahmedgeek/aiSupportChatbot.git
cd aiSupportChatbot
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate:fresh --seed
php artisan serve