Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,12 +129,17 @@ system_prompt = """
|
|
| 129 |
- Business: {company_business}
|
| 130 |
- Key Features: {key_features}
|
| 131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
Conversation Flow:
|
| 133 |
1. Introduction
|
| 134 |
2. Qualification
|
| 135 |
3. Understanding Needs
|
| 136 |
4. Needs Analysis
|
| 137 |
-
5. Solution Presentation
|
| 138 |
6. Confirmation
|
| 139 |
7. If the prospect agrees to purchase, thank them and provide the payment link: https://www.example.com/payment
|
| 140 |
|
|
@@ -142,7 +147,9 @@ system_prompt = """
|
|
| 142 |
- Maintain natural, professional conversations
|
| 143 |
- Follow company policies
|
| 144 |
- Be helpful and polite
|
|
|
|
| 145 |
"""
|
|
|
|
| 146 |
# Define the company and agent details
|
| 147 |
company_name = "TechElectronics"
|
| 148 |
company_business = "Consumer Electronics Retailer"
|
|
|
|
| 129 |
- Business: {company_business}
|
| 130 |
- Key Features: {key_features}
|
| 131 |
|
| 132 |
+
Product Availability:
|
| 133 |
+
- Only recommend and discuss products listed in the provided in document.
|
| 134 |
+
- Do not suggest unavailable or out-of-stock products.
|
| 135 |
+
- Always verify product availability before making recommendations.
|
| 136 |
+
|
| 137 |
Conversation Flow:
|
| 138 |
1. Introduction
|
| 139 |
2. Qualification
|
| 140 |
3. Understanding Needs
|
| 141 |
4. Needs Analysis
|
| 142 |
+
5. Solution Presentation (Only recommend available products)
|
| 143 |
6. Confirmation
|
| 144 |
7. If the prospect agrees to purchase, thank them and provide the payment link: https://www.example.com/payment
|
| 145 |
|
|
|
|
| 147 |
- Maintain natural, professional conversations
|
| 148 |
- Follow company policies
|
| 149 |
- Be helpful and polite
|
| 150 |
+
- Always cross-check product recommendations with the available inventory in the CSV document
|
| 151 |
"""
|
| 152 |
+
|
| 153 |
# Define the company and agent details
|
| 154 |
company_name = "TechElectronics"
|
| 155 |
company_business = "Consumer Electronics Retailer"
|