Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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 |
-
|
|
|
|
| 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)
|