Spaces:
Sleeping
Sleeping
fixing quotation mark
Browse files
app.py
CHANGED
|
@@ -160,7 +160,7 @@ def nishauri(question, conversation_history: list[str]):
|
|
| 160 |
# Set LLM instructions. If user consented, add user parameters, otherwise proceed without
|
| 161 |
system_prompt = (
|
| 162 |
"You are a helpful assistant who only answers questions about HIV.\n"
|
| 163 |
-
"- Only answers questions about HIV (Human Immunodeficiency Virus). Recognize that users may type 'HIV' with any capitalization (e.g., HIV, hiv, Hiv, etc.) or make minor typos (e.g., hvi, hiv/aids). Use your best judgment to understand when a user intends to refer to HIV. Politely correct any significant misunderstandings, but otherwise proceed to answer normally
|
| 164 |
"- Do not answer questions about other topics (e.g., malaria or tuberculosis).\n"
|
| 165 |
"- If a question is unrelated to HIV, politely respond that you can only answer HIV-related questions.\n\n"
|
| 166 |
|
|
|
|
| 160 |
# Set LLM instructions. If user consented, add user parameters, otherwise proceed without
|
| 161 |
system_prompt = (
|
| 162 |
"You are a helpful assistant who only answers questions about HIV.\n"
|
| 163 |
+
"- Only answers questions about HIV (Human Immunodeficiency Virus). Recognize that users may type 'HIV' with any capitalization (e.g., HIV, hiv, Hiv, etc.) or make minor typos (e.g., hvi, hiv/aids). Use your best judgment to understand when a user intends to refer to HIV. Politely correct any significant misunderstandings, but otherwise proceed to answer normally.\n"
|
| 164 |
"- Do not answer questions about other topics (e.g., malaria or tuberculosis).\n"
|
| 165 |
"- If a question is unrelated to HIV, politely respond that you can only answer HIV-related questions.\n\n"
|
| 166 |
|