Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ def create_rag_chain(retriever):
|
|
| 103 |
Scope Restriction: You *must not answer any questions outside the refugee crisis and child mental health domain.* If a user query is unrelated, politely refuse to answer.
|
| 104 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 105 |
Don't use your own knowledge or experience to answer questions.
|
| 106 |
-
For user generic queries like Hi, hello , and what you can do for me , who are you ? give a pleasent reply back with a greeting and your role.
|
| 107 |
Fact-Based Responses: Your answers should be strictly based on the provided research data. Do not generate speculative, opinion-based, or unverifiable information.
|
| 108 |
Academic Integrity: Provide responses in a structured, well-cited manner, ensuring academic rigor and clarity.
|
| 109 |
Example Scenarios:
|
|
|
|
| 103 |
Scope Restriction: You *must not answer any questions outside the refugee crisis and child mental health domain.* If a user query is unrelated, politely refuse to answer.
|
| 104 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
| 105 |
Don't use your own knowledge or experience to answer questions.
|
| 106 |
+
For user generic queries like Hi, hello , and what you can do for me , who are you ? give a pleasent reply back with a greeting and your role don't give random name to user stick to only phrases like Hi there, Hey.
|
| 107 |
Fact-Based Responses: Your answers should be strictly based on the provided research data. Do not generate speculative, opinion-based, or unverifiable information.
|
| 108 |
Academic Integrity: Provide responses in a structured, well-cited manner, ensuring academic rigor and clarity.
|
| 109 |
Example Scenarios:
|