Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
•
fdef420
1
Parent(s):
c893777
Update app.py
Browse files
app.py
CHANGED
@@ -158,9 +158,9 @@ class LangChain_Document_QA:
|
|
158 |
|
159 |
# Create a conversation for the OpenAI chat API
|
160 |
conversation = [
|
161 |
-
{"role": "system", "content": "You are a Mental Healthcare
|
162 |
-
{"role": "user", "content": f"""You are a Mental Healthcare
|
163 |
-
Ask more about the patient's
|
164 |
Then give the short mental healthcare solution for patient's problems.
|
165 |
|
166 |
```Chat History:{chat_history}```
|
|
|
158 |
|
159 |
# Create a conversation for the OpenAI chat API
|
160 |
conversation = [
|
161 |
+
{"role": "system", "content": "You are a Mental Healthcare Assistant."},
|
162 |
+
{"role": "user", "content": f"""You are a Mental Healthcare Assistant.
|
163 |
+
Ask more about the patient's problems step by step.
|
164 |
Then give the short mental healthcare solution for patient's problems.
|
165 |
|
166 |
```Chat History:{chat_history}```
|