Spaces:
Sleeping
Sleeping
Update rag.py
Browse files
rag.py
CHANGED
@@ -95,6 +95,8 @@ def generate_answer(query: str) -> str:
|
|
95 |
Important notes:
|
96 |
- Base your answer strictly on the provided context in a clear and reader-friendly way, using paragraph or bullet points as needed.
|
97 |
- If you don't know the answer, say so honestly.
|
|
|
|
|
98 |
- Include relevant disclaimers recommending consulting a healthcare professional for personalized advice.
|
99 |
- When suggesting treatment options or medications (if applicable to the question), include:
|
100 |
- Drug name
|
|
|
95 |
Important notes:
|
96 |
- Base your answer strictly on the provided context in a clear and reader-friendly way, using paragraph or bullet points as needed.
|
97 |
- If you don't know the answer, say so honestly.
|
98 |
+
- Do not say in your response that you have been provided by any context.
|
99 |
+
- Your response should be readable and understable for users.
|
100 |
- Include relevant disclaimers recommending consulting a healthcare professional for personalized advice.
|
101 |
- When suggesting treatment options or medications (if applicable to the question), include:
|
102 |
- Drug name
|