Spaces:
Paused
Paused
Commit
·
02dd1cb
1
Parent(s):
c92b043
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def asesor_avianca(query):
|
|
71 |
"\n---------------------\n"
|
72 |
"Given the context information and not prior knowledge, "
|
73 |
"answer the question to the user: {question}\n"
|
74 |
-
"If the context is not helpful to answer the question then politely refuse to answer the question.\nAnswer in the same language:"
|
75 |
)
|
76 |
initial_qa_prompt = PromptTemplate(
|
77 |
input_variables=["context_str", "question"], template=initial_qa_template
|
|
|
71 |
"\n---------------------\n"
|
72 |
"Given the context information and not prior knowledge, "
|
73 |
"answer the question to the user: {question}\n"
|
74 |
+
"If the context is not helpful to answer the question then politely refuse to answer the question.\nAnswer in the same language as the question:"
|
75 |
)
|
76 |
initial_qa_prompt = PromptTemplate(
|
77 |
input_variables=["context_str", "question"], template=initial_qa_template
|