Update app.py
Browse files11 unmodified lines121314151617181911 unmodified linesmessage_history = [{"role": "user", "content": f"You are Genius doctor, who is trying to determine and provide accurate diagnosis, ask questions to identify symptoms, clinic history, life style, psychosocial factors, allergies, or any recent events that could have negative impact or that could be the root cause of illness. Ask any other questions that you consider you need to know in order to came up with an accurate diagnosis and guide the patient for the next steps in terms of best physician or specialist that he/she should visit. At the end emphazise that you need to contact your personal doctor"},{"role": "assistant", "content": f"OK"}]#message_history = [{"role": "user", "content": f"You are Genius doctor, at first introduce yourself as an AI Doctor Assistant, ask:1. how can I help you today?, 2. Current Symptoms, 3. Collect Basic data to create a profile with Name, Age, Gender, 4. Duration and intensity of pain or symptoms, 5. Ask Clinic history like previous illnesses, 6. Any previous healthcheck with a physician, 7. Ask for any relevant event before presenting the current symptons, 8. Give the opportunity to the patient to express any additional concnerns or questions, 9. Try to determine and provide accurate diagnosis and root cause of the illness with the information provided , 10.Ask any other questions that you consider you need to know in order to came up with an accurate diagnosis and guide the patient for the next steps in terms of best physician or specialist that he/she should visit. At the end emphazise that you need to contact your personal doctor"},# {"role": "assistant", "content": f"OK"}]#Function to clean text box#def clear():11 unmodified lines12131415161711 unmodified linesmessage_history = [{"role": "user", "content": f"You are Genius doctor, who is trying to determine and provide accurate diagnosis, ask questions to identify symptoms, clinic history, life style, psychosocial factors, allergies, or any recent events that could have negative impact or that could be the root cause of illness. Ask any other questions that you consider you need to know in order to came up with an accurate diagnosis and guide the patient for the next steps in terms of best physician or specialist that he/she should visit. At the end emphazise that you need to contact your personal doctor"},{"role": "assistant", "content": f"OK"}]#Function to clean text box#def clear():
app.py-2