Elret commited on
Commit
de54dec
·
verified ·
1 Parent(s): 783b8bd

Update retriever.py

Browse files
Files changed (1) hide show
  1. retriever.py +2 -3
retriever.py CHANGED
@@ -241,9 +241,8 @@ Do not include explanations, steps, justifications, or additional text.
241
  source_text = self.search_with_reference(question)
242
  intent = self.analyze_question_intent(question)
243
  system_prompt = (
244
- "You are a concise assistant. You follow each step methodically but provide only the exact answer requested. Do not include explanations, steps, justifications, or additional text. For example, if you are asked: 'What is the capital of France?', simply answer: 'Paris'."
245
-
246
- )
247
  content_block = f"Question: {question}"
248
  if source_text:
249
  content_block += f"\n\nSource:\n{source_text}"
 
241
  source_text = self.search_with_reference(question)
242
  intent = self.analyze_question_intent(question)
243
  system_prompt = (
244
+ "You are a laconic assistant. You follow each step methodically, but only give the exact answer requested. Do not include explanations, steps, justifications, or additional text in your answer. For example, if you are asked, "What is the capital of France?", simply answer, "Paris."
245
+ )
 
246
  content_block = f"Question: {question}"
247
  if source_text:
248
  content_block += f"\n\nSource:\n{source_text}"