surfiniaburger commited on
Commit
d8d8162
·
1 Parent(s): 5b59f5d

update prompt due to current limitation

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -368,6 +368,10 @@ def query_dipg_reasoner(user_query: str) -> str:
368
  **USER'S QUESTION:**
369
  {user_query}
370
 
 
 
 
 
371
  **YOUR RESPONSE:**
372
  """
373
  messages = [{"role": "user", "content": system_prompt}]
 
368
  **USER'S QUESTION:**
369
  {user_query}
370
 
371
+ **CRITICAL FINAL INSTRUCTION:**
372
+ First, think step-by-step in an 'analysis' channel to determine the answer from the context.
373
+ Then, you MUST conclude your response with a 'final' channel that contains ONLY the direct and concise answer to the user's question.
374
+
375
  **YOUR RESPONSE:**
376
  """
377
  messages = [{"role": "user", "content": system_prompt}]