Eiza - AI FAQ WidgetEiza - AI FAQ Widget
Self-hosted AI chatbot widget for any website. Powered by OpenAI or Groq (free). One-time purchase, no subscriptions. PHP + MySQL, Recently UpdatedEiza - AI FAQ Widget
Self-hosted AI chatbot widget for any website. Powered by OpenAI or Groq (free). One-time purchas...
Overview
Eiza is a self-hosted AI-powered FAQ chatbot widget built in pure PHP and MySQL. Add a smart floating chat bubble to any website — visitors type questions and Eiza answers them instantly using your own FAQ content, uploaded documents, and AI technology. No SaaS subscription. No monthly billing. Just install once and it works forever.
Why Eiza Is Different From Every Other Chatbot on This Marketplace
Every other AI chatbot tool charges you $50–$300 per month. Eiza is a one-time purchase script that runs on your own server. Your data stays private. There is no third-party chatbot platform. You own it completely.
The 2-Layer Smart Matching Engine
Eiza does not call the AI API for every single question — that would waste money. Instead it uses a smart 2-layer approach:
Layer 1 — Free Keyword Matching: Every question is scored against your FAQ database using TF-IDF scoring, named entity detection, English stemming, and answer content search. If a good match is found, Eiza answers instantly — zero API cost, under 50ms response time.
Layer 2 — AI Fallback: Only when no keyword match is found does Eiza call OpenAI or Groq. The AI receives your top 10 most relevant FAQs as context and answers strictly from your content — it will never make up information.
This means 60–80% of questions are answered completely free. Real-world AI API costs are just pennies per month.
Supports Two AI Providers
Groq (Recommended for testing): Completely free. No credit card. 14,400 requests per day. Sign up at console.groq.com in 2 minutes.
OpenAI: GPT-4o-mini and GPT-4o support. Best accuracy. Approximately $0.005 per 1,000 questions.
What You Can Do With Eiza
✔ Add a professional AI chatbot to any website in under 5 minutes
✔ Answer customer questions automatically 24/7
✔ Upload PDF and TXT documents as additional knowledge sources
✔ Track every conversation and see exactly what visitors ask
✔ Convert unanswered questions into new FAQs with one click
✔ Customize widget color, title, position, and suggestions
✔ Get email alerts when Eiza cannot answer a question
✔ Show WhatsApp and email buttons for human escalation
✔ Works on WordPress, plain HTML, Shopify, or any other platform
✔ Embed on any website with a single script tag
Admin Panel Features
Dashboard with 14-day question chart, total conversations, satisfaction rate, top FAQs by views, and recent session log. FAQ management with full CRUD, categories, keyword optimization, and search. Document upload with drag-and-drop interface. Conversation viewer with full message thread for every session. Unanswered questions tracker. Widget customizer. Embed code generator. Settings for AI provider, notifications, and admin account.
Conversation Memory
Eiza remembers the last 4 turns of every conversation. Follow-up questions work correctly. If a visitor asks "who is the founder?" and then asks "tell me more about him" - Eiza knows who "him" refers to because it has memory of the session.
Works on Any Website
WordPress, Joomla, Drupal, OpenCart, plain HTML, Laravel, CodeIgniter, Shopify — any website that lets you add a script tag. No plugin needed. No framework dependency. Just paste the embed code.
Security Built-In From Day One
CSRF protection on all admin forms. PDO prepared statements — zero SQL injection risk. AES-256 encrypted API key storage. IP-based rate limiting. bcrypt password hashing. SHA-256 hashed visitor IPs for GDPR compliance. .htaccess blocks direct access to the /includes/ folder.
Features
✔ Self-hosted PHP script — your data stays on your own server, no third-party chatbot platforms
✔ One-time purchase — zero monthly subscription fees unlike SaaS chatbot tools
✔ Supports OpenAI (GPT-4o-mini, GPT-4o) and Groq Llama 3 (completely free tier)
✔ 2-layer smart matching — keyword match answers most questions for free, AI only used when needed
✔ TF-IDF scoring engine with named entity detection and English stemmer for accurate FAQ matching
✔ Conversation memory — passes last 4 turns to AI so follow-up questions work correctly
✔ Full admin dashboard with 14-day question chart, satisfaction rate, and top FAQ analytics
✔ FAQ management — add, edit, delete, search, filter with category support and keyword fields
✔ Document upload — PDF (text-based) and TXT files as AI knowledge sources
✔ 3-method PDF extraction — Python pdfplumber, pdftotext binary, pure PHP ASCII85+zlib fallback
✔ Conversation logs — full message thread viewer for every visitor session
✔ Unanswered questions tracker — one-click convert to new FAQ entry
✔ Thumbs up/down rating system with per-FAQ helpful/not helpful counters
✔ Email notifications when AI cannot answer a visitor question
✔ WhatsApp and email escalation buttons when AI fallback is triggered
✔ Widget customizer — color, title, position (left/right), quick suggestion buttons
✔ Auto-opens on page load (configurable)
✔ Embeddable on any website via single script tag — WordPress, plain HTML, Shopify, and more
✔ Embed code generator in admin panel — no manual URL editing required
✔ Web-based installer — creates all database tables and config file automatically
✔ CSRF protection on all admin forms
✔ PDO prepared statements — zero SQL injection risk
✔ AES-256 encrypted API key storage — keys never stored in plaintext
✔ IP-based rate limiting — 20 requests per IP per hour (configurable)
✔ Visitor IP stored as SHA-256 hash — GDPR friendly
✔ bcrypt password hashing (cost 12) for admin accounts
✔ .htaccess protection blocks direct access to sensitive files
✔ No Composer required — works on any shared hosting with PHP 7.4+
✔ No framework dependency — pure PHP and MySQL
✔ Tested on WampServer, cPanel shared hosting, Ubuntu VPS
Requirements
- PHP 7.4 or higher (PHP 8.0, 8.1, 8.2, 8.3 all supported)
- MySQL 5.7+ or MariaDB 10.3+
- PHP Extensions: PDO, PDO_MySQL, cURL, OpenSSL, JSON, zlib (all standard on shared hosting)
- Groq API key (free — sign up at console.groq.com) OR OpenAI API key (paid)
- Web server: Apache (recommended) or Nginx with PHP-FPM
- HTTPS strongly recommended for production use
- No Composer required
- No Node.js required on server
- No external PHP librari
Instructions
Step 1 - Create Database
Log in to cPanel or phpMyAdmin and create a new MySQL database and user. Grant the user ALL PRIVILEGES on the database.
Step 2 - Upload Files
Unzip the downloaded package and upload the ai-faq-widget/ folder to your server via FTP or cPanel File Manager (e.g. public_html/ai-faq-widget/).
Step 3 - Set Permissions
Set the following folders to permission 755:
- Eiza-AI/includes/
- Eiza-AI/uploads/
- Eiza-AI/uploads/docs/
Step 4 - Run Installer
Visit https://yourdomain.com/eiza-... in your browser. Enter your database credentials and create your admin username and password. The installer creates all tables automatically.
Step 5 - Delete Install Folder
After installation completes, delete the /install/ folder from your server for security.
Step 6 - Configure AI Provider
Log in to the admin panel at /Eiza-AI/admin/ and go to Settings → AI Provider. Choose Groq (free) or OpenAI and paste your API key.
Step 7 - Add FAQs
Go to Admin → FAQs → Add FAQ. Add your most common customer questions with clear answers and relevant keywords.
Step 8 - Embed Widget
Go to Admin → Embed Widget. Copy the auto-generated embed code and paste it before on any website where you want the chat widget to appear.
Full documentation is included in the /documentation/ folder (documentation.html).
User Demo: https://a2zwebhelp.com/code-li...
Admin Demo link: https://a2zwebhelp.com/demo/ei...
User: demoadmin
Password: demopassword
Other items by this author
| Category | Scripts & Code / PHP Scripts / AI |
| First release | 29 June 2026 |
| Last update | 29 June 2026 |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
| Files included | .php, .css, .html, .sql, Javascript .js |
| Tags | Faq, openai, groq, rag, ai-powered chatbot |








