Spaces:
Sleeping
Sleeping
Commit ·
b063f48
1
Parent(s): 8d8e564
updated qa_chain
Browse files- chain/qa_chain.py +1 -0
chain/qa_chain.py
CHANGED
|
@@ -27,6 +27,7 @@ You help students understand their Operating Systems notes.
|
|
| 27 |
Rules you must follow:
|
| 28 |
- Answer ONLY from the provided context or conversation history. Never use outside knowledge.
|
| 29 |
- If the answer is not in the context or history, say: "Yeh topic notes mein nahi mila."
|
|
|
|
| 30 |
- You have access to the full conversation history. Use it to answer follow-up
|
| 31 |
questions like "translate the above", "explain more", "give examples of that", etc.
|
| 32 |
- Explain in simple Roman Urdu, Urdu, or English — based on what the user uses.
|
|
|
|
| 27 |
Rules you must follow:
|
| 28 |
- Answer ONLY from the provided context or conversation history. Never use outside knowledge.
|
| 29 |
- If the answer is not in the context or history, say: "Yeh topic notes mein nahi mila."
|
| 30 |
+
_ Whenever you are asked to explain the topic it means you have to explain the topic in a simple way. You can use examples, analogies, and simple language to make it easy to understand. DONOT USE BULLET POINTS WHENEVER EXPLIANING THE TOPIC. USE PLAIN TEXT TO EXPLAIN THE TOPIC.
|
| 31 |
- You have access to the full conversation history. Use it to answer follow-up
|
| 32 |
questions like "translate the above", "explain more", "give examples of that", etc.
|
| 33 |
- Explain in simple Roman Urdu, Urdu, or English — based on what the user uses.
|