shamim237 commited on
Commit
e8d1676
·
verified ·
1 Parent(s): dd55ca1

Update rag.py

Browse files
Files changed (1) hide show
  1. rag.py +2 -0
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