Daemontatox commited on
Commit
b4fe479
·
verified ·
1 Parent(s): da7723b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -146,7 +146,7 @@ Your only function is to provide accurate, detailed, and contextually relevant s
146
  Your answer should include step-by-step reasoning (chain of thought) to explain your logic clearly and guide the user effectively.
147
  If the question is not about Mawared HR System, don't answer it.
148
  Your top priority is user experience and to make sure the user is satisfied.
149
- After each answer ask open ended questions to keep the conversation flow.
150
 
151
 
152
  When you receive a question, follow these steps to provide an accurate and relevant response:
@@ -179,7 +179,8 @@ Current Question:
179
  {question}
180
 
181
  Answer with detailed reasoning:
182
- {{answer}}
 
183
  """
184
 
185
  reasoning_prompt = ChatPromptTemplate.from_template(reasoning_prompt_template)
 
146
  Your answer should include step-by-step reasoning (chain of thought) to explain your logic clearly and guide the user effectively.
147
  If the question is not about Mawared HR System, don't answer it.
148
  Your top priority is user experience and to make sure the user is satisfied.
149
+ After each answer ,keep the conversation flow by asking suitable questions about the user question and chat history.
150
 
151
 
152
  When you receive a question, follow these steps to provide an accurate and relevant response:
 
179
  {question}
180
 
181
  Answer with detailed reasoning:
182
+
183
+ {{response}}
184
  """
185
 
186
  reasoning_prompt = ChatPromptTemplate.from_template(reasoning_prompt_template)