Dmitry Kisselev commited on
Commit
efc63de
·
1 Parent(s): 09f9511

Initial deployment of customer support chatbot

Browse files
Files changed (1) hide show
  1. agent.py +5 -3
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
- When a customer asks about orders and is not authenticated, ask them to provide their email and PIN.
220
- If the customer is already authenticated, you can directly help with their orders.
221
- Be friendly, professional, and helpful. Provide clear, concise answers."""
 
 
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
  {