AmpParth commited on
Commit
c7e99d2
·
verified ·
1 Parent(s): 5da74e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -13
app.py CHANGED
@@ -191,38 +191,30 @@ def check_agent_steps(text: str):
191
  categories = {
192
  "Introduction": [
193
  "Greet the customer politely.",
194
- "Identify yourself and your company.",
195
- "Verify the customer's identity to ensure confidentiality."
196
  ],
197
  "Purpose of the Call": [
198
- "State the purpose of the call clearly.",
199
- "Mention the specific account or debt in question."
200
  ],
201
  "Account Review": [
202
- "Provide details of outstanding debt, the amount, due date, and charges or fees.",
203
- "Confirm whether the customer acknowledges the debt."
204
  ],
205
  "Listen to the Customer": [
206
  "Give the customer an opportunity to explain their situation.",
207
  "Show empathy and understanding."
208
  ],
209
  "Payment Discussion": [
210
- "Ask the customer about their ability to pay the outstanding amount.",
211
- "Discuss payment options and negotiate a payment plan if necessary.",
212
- "Set clear terms for the payment plan, including amounts and due dates."
213
  ],
214
  "Confirmation": [
215
  "Confirm the agreed-upon payment plan or next steps.",
216
  "Provide details on how the payment can be made (e.g., online, phone, mail)."
217
  ],
218
  "Documentation": [
219
- "Inform the customer that the call is recorded for compliance/training purposes.",
220
  "Offer to send a written confirmation of any agreements made during the call."
221
  ],
222
  "Closing": [
223
- "Thank the customer for their time and cooperation.",
224
- "Provide a contact number for any further questions or concerns.",
225
- "End the call politely."
226
  ]
227
  }
228
 
 
191
  categories = {
192
  "Introduction": [
193
  "Greet the customer politely.",
194
+ "Identify yourself and your company."
 
195
  ],
196
  "Purpose of the Call": [
197
+ "State the purpose of the call clearly."
 
198
  ],
199
  "Account Review": [
200
+ "Provide details of outstanding debt, the amount, due date, and charges or fees."
 
201
  ],
202
  "Listen to the Customer": [
203
  "Give the customer an opportunity to explain their situation.",
204
  "Show empathy and understanding."
205
  ],
206
  "Payment Discussion": [
207
+ "Ask the customer about their ability to pay the outstanding amount."
 
 
208
  ],
209
  "Confirmation": [
210
  "Confirm the agreed-upon payment plan or next steps.",
211
  "Provide details on how the payment can be made (e.g., online, phone, mail)."
212
  ],
213
  "Documentation": [
 
214
  "Offer to send a written confirmation of any agreements made during the call."
215
  ],
216
  "Closing": [
217
+ "Thank the customer for their time and cooperation."
 
 
218
  ]
219
  }
220