fixing indent
Browse files
app.py
CHANGED
|
@@ -62,14 +62,14 @@ def nishauri(question: str, conversation_history: list[str]):
|
|
| 62 |
" A high viral load or non-suppressed viral load is any viral load above 200 copies/ml."
|
| 63 |
" A suppressed viral load is one below 200 copies / ml.")
|
| 64 |
|
| 65 |
-
|
| 66 |
f" The user previously asked and answered the following: {context}. "
|
| 67 |
f" The user just asked the following question: {question}."
|
| 68 |
f" Please use the following content to generate a response: {source0} {source1} {source2}."
|
| 69 |
f" Please update the response provided only if needed, based on the following background information {background}."
|
| 70 |
" Keep answers brief and limited to the question that was asked."
|
| 71 |
" Do not provide information the user did not ask about. If they start with a greeting, just greet them in return and don't share anything else."
|
| 72 |
-
|
| 73 |
|
| 74 |
completion = client.chat.completions.create(
|
| 75 |
model="gpt-4-turbo",
|
|
|
|
| 62 |
" A high viral load or non-suppressed viral load is any viral load above 200 copies/ml."
|
| 63 |
" A suppressed viral load is one below 200 copies / ml.")
|
| 64 |
|
| 65 |
+
question_final = (
|
| 66 |
f" The user previously asked and answered the following: {context}. "
|
| 67 |
f" The user just asked the following question: {question}."
|
| 68 |
f" Please use the following content to generate a response: {source0} {source1} {source2}."
|
| 69 |
f" Please update the response provided only if needed, based on the following background information {background}."
|
| 70 |
" Keep answers brief and limited to the question that was asked."
|
| 71 |
" Do not provide information the user did not ask about. If they start with a greeting, just greet them in return and don't share anything else."
|
| 72 |
+
)
|
| 73 |
|
| 74 |
completion = client.chat.completions.create(
|
| 75 |
model="gpt-4-turbo",
|