Spaces:
Sleeping
Sleeping
Update client.py
Browse files
client.py
CHANGED
|
@@ -21,8 +21,8 @@ def get_completion(ticket:model.Ticket):
|
|
| 21 |
print("In get completion")
|
| 22 |
|
| 23 |
# hardcoding response for testing
|
| 24 |
-
result = "intent= Complaint\nsuggested_response= Issue Refund\nsummary= The customer is making a complaint. Suggested resolution is to issue a refund.\nmail=\nDear Customer,\n\nWe are sorry to hear that you have a complaint regarding your booking. We understand the inconvenience this has caused you and we would like to make things right. Our records show that you have requested a refund.\n\nWe have processed your refund request and you should receive the refund within 3-5 business days. We apologize"
|
| 25 |
-
return result
|
| 26 |
|
| 27 |
client = create_client()
|
| 28 |
prompt = create_prompt(ticket.subject, ticket.description)
|
|
|
|
| 21 |
print("In get completion")
|
| 22 |
|
| 23 |
# hardcoding response for testing
|
| 24 |
+
# result = "intent= Complaint\nsuggested_response= Issue Refund\nsummary= The customer is making a complaint. Suggested resolution is to issue a refund.\nmail=\nDear Customer,\n\nWe are sorry to hear that you have a complaint regarding your booking. We understand the inconvenience this has caused you and we would like to make things right. Our records show that you have requested a refund.\n\nWe have processed your refund request and you should receive the refund within 3-5 business days. We apologize"
|
| 25 |
+
# return result
|
| 26 |
|
| 27 |
client = create_client()
|
| 28 |
prompt = create_prompt(ticket.subject, ticket.description)
|