ahensd commited on
Commit
2656ab6
·
verified ·
1 Parent(s): ba7a44d

Update client.py

Browse files
Files changed (1) hide show
  1. client.py +6 -5
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. Please use the below instructions to answer.
46
- Categorize the following request : ```
47
- Subject: {{subject}} Description: {{desc}}``` in 1 single word? Use one of the below options to categorize:
 
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
- Issue Refund
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.