Update app.py
Browse files
app.py
CHANGED
|
@@ -688,39 +688,55 @@ RESPONSE INSTRUCTIONS:
|
|
| 688 |
- AND it's about an INDIVIDUAL customer (mentions specific usage numbers for one person)
|
| 689 |
|
| 690 |
π **For all other questions** (insights, trends, analysis, comparisons):
|
| 691 |
-
- Provide 3 concise, actionable insights
|
| 692 |
-
-
|
|
|
|
|
|
|
| 693 |
- DO NOT format as package recommendations
|
| 694 |
- Keep it brief and data-driven
|
| 695 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 696 |
---
|
| 697 |
|
| 698 |
IF PACKAGE RECOMMENDATION (Individual Customer Only):
|
| 699 |
|
| 700 |
-
|
| 701 |
-
|
| 702 |
-
|
| 703 |
-
|
| 704 |
-
|
| 705 |
-
|
| 706 |
-
|
| 707 |
-
|
| 708 |
-
|
| 709 |
-
|
| 710 |
-
|
| 711 |
-
|
| 712 |
-
|
| 713 |
-
|
| 714 |
-
|
| 715 |
-
**
|
| 716 |
-
|
| 717 |
-
|
| 718 |
-
|
| 719 |
-
|
| 720 |
-
|
| 721 |
-
|
| 722 |
-
|
| 723 |
-
|
|
|
|
| 724 |
"""
|
| 725 |
|
| 726 |
try:
|
|
|
|
| 688 |
- AND it's about an INDIVIDUAL customer (mentions specific usage numbers for one person)
|
| 689 |
|
| 690 |
π **For all other questions** (insights, trends, analysis, comparisons):
|
| 691 |
+
- Provide 3 concise, actionable insights with clear formatting
|
| 692 |
+
- Use markdown: **bold** for emphasis, bullet points (β’) for lists
|
| 693 |
+
- Include specific numbers and percentages
|
| 694 |
+
- Add visual separators between insights
|
| 695 |
- DO NOT format as package recommendations
|
| 696 |
- Keep it brief and data-driven
|
| 697 |
|
| 698 |
+
FORMAT FOR INSIGHTS (use this structure):
|
| 699 |
+
### π― Insight 1: [Title]
|
| 700 |
+
**Key Finding:** [Main point with numbers]
|
| 701 |
+
**Action:** [What to do]
|
| 702 |
+
|
| 703 |
+
### π Insight 2: [Title]
|
| 704 |
+
**Key Finding:** [Main point with numbers]
|
| 705 |
+
**Action:** [What to do]
|
| 706 |
+
|
| 707 |
+
### π‘ Insight 3: [Title]
|
| 708 |
+
**Key Finding:** [Main point with numbers]
|
| 709 |
+
**Action:** [What to do]
|
| 710 |
+
|
| 711 |
---
|
| 712 |
|
| 713 |
IF PACKAGE RECOMMENDATION (Individual Customer Only):
|
| 714 |
|
| 715 |
+
FORMAT:
|
| 716 |
+
### π USAGE PROFILE
|
| 717 |
+
**Pattern:** [Describe time distribution pattern - bimodal/uniform/concentrated]
|
| 718 |
+
**Behavior:** [Commuter/Night owl/etc based on morning+night/night-heavy patterns]
|
| 719 |
+
β’ Mention ALL significant time periods (>25% is significant)
|
| 720 |
+
β’ Recognize patterns clearly
|
| 721 |
+
|
| 722 |
+
### π RECOMMENDED PACKAGE
|
| 723 |
+
**Package Name:** [Intelligent name reflecting usage pattern]
|
| 724 |
+
**Details:** [Specific allocations covering 120-150% of actual usage]
|
| 725 |
+
**Price:** PKR [amount]/month
|
| 726 |
+
β’ EXCLUDE services with 0 usage (if data=0 MB, don't include data)
|
| 727 |
+
β’ Realistic PKR pricing: Basic (500-900), Mid (900-1600), Premium (1600-2500)
|
| 728 |
+
|
| 729 |
+
### β¨ KEY BENEFITS
|
| 730 |
+
β’ **Benefit 1:** [Quantified if possible - "save 20%", "covers 150% of usage"]
|
| 731 |
+
β’ **Benefit 2:** [Cost savings, usage coverage, flexibility]
|
| 732 |
+
β’ **Benefit 3:** [Value match for their usage pattern]
|
| 733 |
+
β’ **Benefit 4:** [Additional value proposition]
|
| 734 |
+
|
| 735 |
+
### π° PRICING STRATEGY
|
| 736 |
+
**Discount Offer:** PKR [amount] discount/benefit
|
| 737 |
+
**Business Logic:** [Why this discount - ARPU increase/churn reduction]
|
| 738 |
+
**Upsell Opportunity:** [Services they could use more]
|
| 739 |
+
**Expected Impact:** [Quantified business results]
|
| 740 |
"""
|
| 741 |
|
| 742 |
try:
|