raghavNCI
commited on
Commit
·
35f2d8a
1
Parent(s):
83a5004
prompt change
Browse files- routes/question.py +1 -0
routes/question.py
CHANGED
@@ -81,6 +81,7 @@ async def ask_question(input: QuestionInput):
|
|
81 |
# Step 3: Ask Mistral to answer
|
82 |
answer_prompt = (
|
83 |
f"You are a concise news assistant. Answer the user's question clearly using the context below if relevant. "
|
|
|
84 |
f"If the context is not helpful, you may rely on your own knowledge, but do not mention the context or question again.\n\n"
|
85 |
f"Context:\n{context}\n\n"
|
86 |
f"Question: {question}\n\n"
|
|
|
81 |
# Step 3: Ask Mistral to answer
|
82 |
answer_prompt = (
|
83 |
f"You are a concise news assistant. Answer the user's question clearly using the context below if relevant. "
|
84 |
+
f"Make sure you are precise, accurate and to the point. Do not assume that the reader has any prerequisite understanding of the subject."
|
85 |
f"If the context is not helpful, you may rely on your own knowledge, but do not mention the context or question again.\n\n"
|
86 |
f"Context:\n{context}\n\n"
|
87 |
f"Question: {question}\n\n"
|