Spaces:
Sleeping
Sleeping
Update client.py
Browse files
client.py
CHANGED
|
@@ -43,13 +43,11 @@ def create_prompt(subject:str, desc:str):
|
|
| 43 |
# add booking data here
|
| 44 |
prompt = '''
|
| 45 |
You are an AI Customer Service Agent for booking.com. Use the below instructions to answer.
|
| 46 |
-
|
| 47 |
-
|
| 48 |
Cancellation
|
| 49 |
Refund
|
| 50 |
|
| 51 |
In the context of the previous request, Suggest a resolution response to address the customer query from the following actions list:
|
| 52 |
-
|
| 53 |
Issue Refund
|
| 54 |
Cancellation
|
| 55 |
|
|
|
|
| 43 |
# add booking data here
|
| 44 |
prompt = '''
|
| 45 |
You are an AI Customer Service Agent for booking.com. Use the below instructions to answer.
|
| 46 |
+
Determine the intent of this request: ```Subject: {{subject}} Description: {{desc}}``` in 1 single word? Use one the following options for intent:
|
|
|
|
| 47 |
Cancellation
|
| 48 |
Refund
|
| 49 |
|
| 50 |
In the context of the previous request, Suggest a resolution response to address the customer query from the following actions list:
|
|
|
|
| 51 |
Issue Refund
|
| 52 |
Cancellation
|
| 53 |
|