Spaces:
Build error
Build error
Commit Β·
ab0f22a
1
Parent(s): fd501d6
Prompts and information updated
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def main(query, history):
|
|
| 56 |
thread_id=thread.id,
|
| 57 |
assistant_id=assistant.id,
|
| 58 |
instructions="User is a health patient, who is suffering from {disease}. You are supposed to create a medical report based on the symptoms. If you are 100% sure, you can also predict the disease else just report the symptoms in a formal formatted diagnosis report.\
|
| 59 |
-
Make sure to include all the vital informations by asking the patients. Ask their name, address and
|
| 60 |
)
|
| 61 |
|
| 62 |
while True:
|
|
|
|
| 56 |
thread_id=thread.id,
|
| 57 |
assistant_id=assistant.id,
|
| 58 |
instructions="User is a health patient, who is suffering from {disease}. You are supposed to create a medical report based on the symptoms. If you are 100% sure, you can also predict the disease else just report the symptoms in a formal formatted diagnosis report.\
|
| 59 |
+
Make sure to include all the vital informations by asking the patients. Ask their name, address and gender before beginning asking for symptoms. Ask one question at a time so that the user doesn't feel overwhelmed. Ask if they have any more symptoms and after completing asking for the detailed symptoms, generate the symptoms in a medical report like format along with the patient's information.",
|
| 60 |
)
|
| 61 |
|
| 62 |
while True:
|