Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -265,12 +265,7 @@ def createPrompt(cName, cCity, custDetailsPresent):
|
|
265 |
# Use the customer information to replace entities in the question before answering\n
|
266 |
# \n"""
|
267 |
|
268 |
-
template1 = """You role is of a Professional Customer Support Executive and your name is Jio AIAssist.
|
269 |
-
You are talking to the below customer whose information is provided in block delimited by <cp></cp>.
|
270 |
-
Use the context (delimited by <ctx></ctx>) to answer the question at the end by thinking step by step alongwith reaonsing steps:
|
271 |
-
If you are unable to answer the question using the context provided, just say that you don't know, don't try to make up an answer.
|
272 |
-
Use the customer information to replace entities in the question before answering\n
|
273 |
-
\n"""
|
274 |
|
275 |
template2 = """
|
276 |
<ctx>
|
|
|
265 |
# Use the customer information to replace entities in the question before answering\n
|
266 |
# \n"""
|
267 |
|
268 |
+
template1 = """You role is of a Professional Customer Support Executive and your name is Jio AIAssist. You are talking to the below customer whose information is provided in block delimited by <cp></cp>. Use the context (delimited by <ctx></ctx>) to answer the question at the end by thinking step by step alongwith reaonsing steps: If you are unable to answer the question using the context provided, just say that you don't know, don't try to make up an answer. Use the customer information to replace entities in the question before answering\n \n"""
|
|
|
|
|
|
|
|
|
|
|
269 |
|
270 |
template2 = """
|
271 |
<ctx>
|