Spaces:
Sleeping
Sleeping
Update client.py
Browse files
client.py
CHANGED
|
@@ -42,15 +42,16 @@ def create_prompt(subject:str, desc:str):
|
|
| 42 |
print("In create Prompt")
|
| 43 |
# add booking data here
|
| 44 |
prompt = '''
|
| 45 |
-
You are an AI Customer Service Agent for booking.com.
|
| 46 |
-
|
| 47 |
-
|
|
|
|
| 48 |
Refund Request
|
| 49 |
-
Cancellation Request
|
| 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 |
Cancel Booking
|
|
|
|
| 54 |
|
| 55 |
Finally, Summarize the message: ```
|
| 56 |
Subject: {{subject}}Description:{{desc}}``` and generate a mail content for the customer about the whole conversation.
|
|
|
|
| 42 |
print("In create Prompt")
|
| 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 |
+
What is the intent of this request: ```Subject: {{subject}} Description: {{desc}}``` in 1 single word? Use these options for intent:
|
| 47 |
+
|
| 48 |
+
Cancellation
|
| 49 |
Refund Request
|
|
|
|
| 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 |
Cancel Booking
|
| 54 |
+
Issue Refund
|
| 55 |
|
| 56 |
Finally, Summarize the message: ```
|
| 57 |
Subject: {{subject}}Description:{{desc}}``` and generate a mail content for the customer about the whole conversation.
|