Spaces:
Sleeping
Sleeping
recognize lowercase
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ def nishauri(question, conversation_history: list[str]):
|
|
| 154 |
"Guidelines:\n"
|
| 155 |
"- Only answer the question that was asked.\n"
|
| 156 |
"- Do not change the subject or include unrelated information.\n"
|
| 157 |
-
"- Only discuss HIV. If the question is not about HIV, say that you can only answer HIV-related questions.\n"
|
| 158 |
)
|
| 159 |
|
| 160 |
# Set LLM instructions. If user consented, add user parameters, otherwise proceed without
|
|
@@ -169,6 +169,7 @@ def nishauri(question, conversation_history: list[str]):
|
|
| 169 |
"- Do not mention in your response that the person is living with HIV.\n"
|
| 170 |
"- Only suggest things relevant to someone who already has HIV.\n\n"
|
| 171 |
"- Keep the answer under 50 words.\n"
|
|
|
|
| 172 |
"- Use simple, easy-to-understand language. Avoid medical jargon.\n"
|
| 173 |
|
| 174 |
"Use the following authoritative information about viral loads:\n"
|
|
|
|
| 154 |
"Guidelines:\n"
|
| 155 |
"- Only answer the question that was asked.\n"
|
| 156 |
"- Do not change the subject or include unrelated information.\n"
|
| 157 |
+
"- Only discuss HIV (e.g., 'hiv,' 'Hiv,' 'HIV') . If the question is not about HIV, say that you can only answer HIV-related questions.\n"
|
| 158 |
)
|
| 159 |
|
| 160 |
# Set LLM instructions. If user consented, add user parameters, otherwise proceed without
|
|
|
|
| 169 |
"- Do not mention in your response that the person is living with HIV.\n"
|
| 170 |
"- Only suggest things relevant to someone who already has HIV.\n\n"
|
| 171 |
"- Keep the answer under 50 words.\n"
|
| 172 |
+
"- The user may user lowercase or slang for HIV or related terms.\n"
|
| 173 |
"- Use simple, easy-to-understand language. Avoid medical jargon.\n"
|
| 174 |
|
| 175 |
"Use the following authoritative information about viral loads:\n"
|