Repository navigation
Expand file tree
/
Copy pathextra
More file actions
13 lines (9 loc) · 2.77 KB
/
Copy pathextra
File metadata and controls
13 lines (9 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
question="Q. Kindly suggest a homeopathic medicine to stop hairfall and promote hair growth.
"
patient_detail= "Hello doctor,I am 24 years old, and for the past nine years, I am facing hair fall problem nowadays my 60 % of hair is falling on my top and front of my head. I checked my thyroid and hemoglobin many times, but their reports are good. I use many home remedies and hair oils, but when I stop using it again, it starts falling. The allopathic doctor says use Minoxidil 5 %, Finasteride, and hair serum. But Finasteride has many side effects. Can you please tell me is any medicine available in homeopathy which stops hair fall and promotes hair growth if yes can you please tell me the name.
"
doctor_reply = "Hello. I checked the attached photo (attachment removed to protect patient identity) and read your description. It seems you have been suffering from hair loss problem for a longtime. Do you eat healthy food like vegetables and fruits every day? Sometimes lack of nutrition is also the reason for hair loss. Do you know if your father also differed from hair loss issue at this young age? Did you suffer from severe health issues or chronic illnesses? If you do not think above mentioned is the cause for your hair fall, then the only reason I can think is that you have been going through severe stress which has taken a toll on your health. Homeopathy would be a good option in this case as it will cure our problem from the root cause, and there will be no side effects. So to prescribe you a correct homeopathic remedy I need to understand your mental, emotional, and physical state. He ce I need detail case history which can be done either through face to face consultation or online consultation. I would advise you to visit a good homeopath for consultation. For the time being, you can apply arnica hair oil twice a week on your hair. Just mix one spoon of Arnica oil with five spoons of coconut oil and apply all over your scalp. You can gently massage your ear with this mixture. Try this for 15 days and then let me know how you feel. I hope you start feeling better. Let me know if you have any questions.
"
i have a large dataset with these 3 columns(question,patient_detail, doctor_reply) . I want to make a script which generates me a COT for each of these rows. I want to use langgraph to store the state of each COT until it is completed.
i will be using two models , one will act as a doctor (this will be a reasoning model) and the other will be patient which will ask questions till the query mentioned in patient_detail is resolved. The state will consist of the patient_detail , doctor_reply, all mesaages from both models in sequence.
patient detail will be used to ask questions , doctor reply will be used by resoning model to understand the tone of his behaviour while answering.