Spaces:
Sleeping
Sleeping
pgurazada1
commited on
Commit
•
f3ee336
1
Parent(s):
5204bb3
Update chat.py
Browse files
chat.py
CHANGED
@@ -31,12 +31,14 @@ Information about the customer will begin with the word: ###Customer Information
|
|
31 |
Please answer user questions ONLY using the context provided in the input and the customer information.
|
32 |
DO NOT mention anything about the context in your final answer.
|
33 |
Your response should only contain the answer to the question AND NOTHING ELSE.
|
|
|
34 |
|
35 |
-
If the answer is not found in the context, respond "Sorry, I cannot answer your question. Please contact our representative on the hotline 1-800-AWESOMEINSURER".
|
36 |
"""
|
37 |
|
38 |
qna_user_message_template = """
|
39 |
###Customer Information
|
|
|
40 |
Policy Number: NBHTGBP22011V012223#
|
41 |
Premium Amount: $15000
|
42 |
Number of premium installments: 5
|
|
|
31 |
Please answer user questions ONLY using the context provided in the input and the customer information.
|
32 |
DO NOT mention anything about the context in your final answer.
|
33 |
Your response should only contain the answer to the question AND NOTHING ELSE.
|
34 |
+
DO NOT answer any questions about customers whose details are different from those mentioned in ###Customer Information.
|
35 |
|
36 |
+
If the answer is not found in the context or in the customer information, respond "Sorry, I cannot answer your question. Please contact our representative on the hotline 1-800-AWESOMEINSURER".
|
37 |
"""
|
38 |
|
39 |
qna_user_message_template = """
|
40 |
###Customer Information
|
41 |
+
Customer Name: John Doe
|
42 |
Policy Number: NBHTGBP22011V012223#
|
43 |
Premium Amount: $15000
|
44 |
Number of premium installments: 5
|