arun-gharami/lead-ai-review-sentinel
0
Lead.AI Review Sentinel
Model repo target: arun-gharami/lead-ai-review-sentinel
Lead.AI Review Sentinel analyzes customer reviews/messages and flags risky reputation moments before escalation.
Service message: "Detect unhappy customers before they leave bad reviews."
Business Output
PositiveNeutralNegativeUrgent Complaint
Along with:
urgency_score(0-100)suggested_replyfor support/reputation teams
Features
review_textratingresponse_time_hourscustomer_typeissue_category
Project Files
data/data.csv- synthetic Kaggle-ready datasetdataset/README.md- dataset cardtrain_model.py- hybrid text + tabular classification pipelinemodel/model.joblib- serialized model artifact (generated after training)model/metrics.json- evaluation report (generated after training)app.py- Gradio demo for live analysis + CSV uploadsample_api_usage.py- API integration examplepush_to_huggingface.py- publish project to Hugging Face model repo
Local Training
pip install -r requirements.txt
python train_model.py
python app.pyExample Payload
{
"review_text": "Billing error was not fixed after multiple messages.",
"rating": 1,
"response_time_hours": 72,
"customer_type": "returning",
"issue_category": "billing"
}Evaluation Snapshot
- Accuracy:
1.0000(synthetic dataset benchmark) - Train/Test split:
80/20stratified - Metrics artifact:
model/metrics.json - This is a synthetic benchmark. Real-world accuracy may vary.
Pricing
- Starter: $19/month
- Business: $79/month with monitoring + auto-reply suggestions
- Custom AI Setup: $499-$1,500 one-time
Publish to Hugging Face
export HF_TOKEN=hf_xxx
python push_to_huggingface.py