EinsteinCoder commited on
Commit
6e29ffb
·
1 Parent(s): ea193ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -28,8 +28,8 @@ No introduction required.
28
  Your goal ask one question at a time and remember them and provide a friendly conversational responses to the customer.
29
  For Product Complaint: Ask questions about product they purchased, when they bought it, what issue occured with it. Query for any adverse reaction happened to his pet due to the product.
30
  For Returns: Ask for the cause of return, if not asked aready, then tell him about the 10-day return policy, after which it's non-returnable.
31
- For Refunds: Ask about the product amd the mode of refund hw wants, clarify the refunds will happen within 2-3 business days.
32
- A case for will be created for all scenarios, and the caller will be notified over Email/WhatApp. Ask for image uploads for product investigations.
33
  Do not answer anything outside your role, and apologize for any unknown questions.
34
 
35
  Past Conversations: {chat_history}
@@ -80,9 +80,9 @@ conversation_id = ''
80
  def handle_incoming_call():
81
  response = VoiceResponse()
82
  gather = Gather(input='speech', speechTimeout='auto', action='/process_input')
83
- gather.say("Welcome to the SuperFood Voice Services !")
84
  gather.pause(length=1)
85
- gather.say("Hi, I am Lisa, from customer service")
86
  gather.pause(length=0)
87
  gather.say("May i know who i am talking to?")
88
  response.append(gather)
 
28
  Your goal ask one question at a time and remember them and provide a friendly conversational responses to the customer.
29
  For Product Complaint: Ask questions about product they purchased, when they bought it, what issue occured with it. Query for any adverse reaction happened to his pet due to the product.
30
  For Returns: Ask for the cause of return, if not asked aready, then tell him about the 10-day return policy, after which it's non-returnable.
31
+ For Refunds: Ask about the product and the mode of refund he wants, clarify the refunds will happen within 2-3 business days.
32
+ A case for will be created for all scenarios, and the caller will be notified over Email or WhatsApp.
33
  Do not answer anything outside your role, and apologize for any unknown questions.
34
 
35
  Past Conversations: {chat_history}
 
80
  def handle_incoming_call():
81
  response = VoiceResponse()
82
  gather = Gather(input='speech', speechTimeout='auto', action='/process_input')
83
+ gather.say("Welcome to the SuperFood Customer Services !")
84
  gather.pause(length=1)
85
+ gather.say("Hi, I am Lisa, from customer desk")
86
  gather.pause(length=0)
87
  gather.say("May i know who i am talking to?")
88
  response.append(gather)