Shu'ur is an AI-powered platform that automatically analyzes, classifies, and visualizes Arabic customer support conversations (including Palestinian dialect) to help organizations instantly understand customer sentiment, spot dissatisfaction, and improve service quality.
- Live Demo: Watch a demo here
- Arabic Sentiment Analysis: Detects positive, negative, and neutral sentiment in Arabic (including dialects).
- Real-Time Dashboard: Visualizes sentiment trends, agent performance, and common issues.
- Automatic Tagging: Highlights dissatisfied customer messages for rapid intervention.
- Comprehensive Metrics: Accuracy, Precision, Recall, F1-Score, MAE, RMSE, and more.
- Real Time Chatting: Designed for live chat, and web-based customer support systems.
- Secure API Integration: Uses OpenRouter LLM APIs with API key authentication.
- Live Demo: Demo Video
-
API Authentication
Secure connection to OpenRouter LLM APIs with your API key. -
Prompt Creation
Each customer message is formatted and sent to the LLM with context. -
Model Inference
The LLM returns a sentiment score and explanation. -
Data Analysis & Visualization
Results are aggregated, analyzed, and visualized in real-time dashboards.
- Python (backend, AI model interaction)
- Jupyter Notebook (data analysis, prototyping)
- TypeScript (dashboard/web frontend)
- OpenRouter API (LLM inference)
- Mistral AI (pre-trained models)
- Matplotlib, Seaborn (visualizations)
- Pandas, scikit-learn (data processing & metrics)
Metric | Value |
---|---|
Accuracy | 0.730 |
Precision | 0.730 |
Recall | 1.000 |
F1-Score | 0.844 |
MAE | 0.470 |
RMSE | 0.686 |
True Positive | 73 |
True Negative | 0 |
False Positive | 27 |
False Negative | 0 |
ai-model/
— Python backend for sentiment analysisdata-analysis/
— Jupyter Notebooks for data exploration and evaluationweb/
— TypeScript frontend for the dashboard
-
Clone the repository
git clone https://github.com/YOUR-TEAM-ORG/ai-model.git
-
Install dependencies
cd ai-model pip install -r requirements.txt
-
Set your OpenRouter API key
export OPENROUTER_API_KEY=your_api_key_here
-
Run the backend
python evaluate_model.py
-
Start the frontend dashboard
cd ../web npm install npm start
- Production Deployment: Integrate with Bank of Palestine’s infrastructure
- Dialect Expansion: Support for more Arabic dialects
- Real-time Alerts: Live dashboards and automated escalation
- Predictive Analytics: Customer satisfaction forecasting
- Multi-channel Support: Voice, email, social media integration
Palestine Launchpad 4th Graduate Hackathon - Team20-P3
Contact: [email protected]