Spaces:
Sleeping
Sleeping
Dmitry Kisselev commited on
Commit ·
efc63de
1
Parent(s): 09f9511
Initial deployment of customer support chatbot
Browse files
agent.py
CHANGED
|
@@ -216,9 +216,11 @@ Current session status: """ + auth_status
|
|
| 216 |
system_content += f"\nAuthenticated customer: {customer_email}"
|
| 217 |
system_content += """
|
| 218 |
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
|
|
|
|
|
|
| 222 |
|
| 223 |
messages = [
|
| 224 |
{
|
|
|
|
| 216 |
system_content += f"\nAuthenticated customer: {customer_email}"
|
| 217 |
system_content += """
|
| 218 |
|
| 219 |
+
IMPORTANT INSTRUCTIONS:
|
| 220 |
+
- When a customer asks to see/list/show their orders, use the list_orders tool directly
|
| 221 |
+
- When a customer asks about a specific order, use the get_order tool
|
| 222 |
+
- The customer_id is already set for authenticated sessions - you don't need to provide it
|
| 223 |
+
- Be friendly, professional, and helpful. Provide clear, concise answers."""
|
| 224 |
|
| 225 |
messages = [
|
| 226 |
{
|