Spaces:
Runtime error
Runtime error
KonradSzafer
commited on
Commit
•
f5689ce
1
Parent(s):
11b950b
prompt update
Browse files- qa_engine/qa_engine.py +1 -2
qa_engine/qa_engine.py
CHANGED
@@ -310,10 +310,9 @@ class QAEngine():
|
|
310 |
answer_step_2 = self.llm_model(
|
311 |
f"""
|
312 |
<|im_start|>system
|
313 |
-
Given the
|
314 |
<|im_end|>
|
315 |
<|im_start|>user
|
316 |
-
<context>{context}</context>
|
317 |
<question>{question_processed}</question>
|
318 |
<answer>{answer}</answer>
|
319 |
<|im_end|>
|
|
|
310 |
answer_step_2 = self.llm_model(
|
311 |
f"""
|
312 |
<|im_start|>system
|
313 |
+
Given the question provided below, review the answer, and update it based on common sense if needed. Ensure that the updated answer is clear, concise, and directly addresses the question. Your primary objective is to return only the updated answer. <|im_end|>
|
314 |
<|im_end|>
|
315 |
<|im_start|>user
|
|
|
316 |
<question>{question_processed}</question>
|
317 |
<answer>{answer}</answer>
|
318 |
<|im_end|>
|