Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
bec4ef3
1
Parent(s):
5822c8b
Update app.py
Browse files
app.py
CHANGED
@@ -151,7 +151,7 @@ class LangChain_Document_QA:
|
|
151 |
except:
|
152 |
pass
|
153 |
|
154 |
-
prompt = f"""As an empathic AI psychotherapist chatbot, provide effective solutions to patients' mental health concerns.
|
155 |
if patient say thanking tone message to end the conversation with a thanking greeting when the patient expresses gratitude.
|
156 |
Analyse the patient json If asked for information take it from {patient_details}
|
157 |
Chat History:[{history}]
|
|
|
151 |
except:
|
152 |
pass
|
153 |
|
154 |
+
prompt = f"""As an empathic AI psychotherapist chatbot, provide effective solutions to patients' mental health concerns. first ask existing patient or new. if new get name,age,gender,contact,address from the patient and start. if existing customer get name,age,gender,contact,address details and start the chat about existing issues and current issues.
|
155 |
if patient say thanking tone message to end the conversation with a thanking greeting when the patient expresses gratitude.
|
156 |
Analyse the patient json If asked for information take it from {patient_details}
|
157 |
Chat History:[{history}]
|