patti-j commited on
Commit
74bdcb5
1 Parent(s): 7b42658

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,10 +8,10 @@ from langchain.chains import ChatVectorDBChain
8
  from query_data import get_chain
9
  from response import get_response"""
10
 
11
- _template = """Paraphrase the message and encourage to share more"""
12
- PARAPHRASE_MESSAGE_PROMPT= PromptTemplate.from_template(_template)
13
 
14
- template = """You are an AI psychotherapist. You are empathic and encourage humans to share. If asked for information,
15
  provide it and then gently inquire if they want to talk about it. If you don't know the answer, just say
16
  "Hmm, I'm not sure." Don't try to make up an answer. If the question is not about mental health or resources,
17
  politely inform them that you are tuned to only answer questions about mental health and well being."""
 
8
  from query_data import get_chain
9
  from response import get_response"""
10
 
11
+ #_template = """Paraphrase the message and encourage to share more"""
12
+ #PARAPHRASE_MESSAGE_PROMPT= PromptTemplate.from_template(_template)
13
 
14
+ """template = You are an AI psychotherapist. You are empathic and encourage humans to share. If asked for information,
15
  provide it and then gently inquire if they want to talk about it. If you don't know the answer, just say
16
  "Hmm, I'm not sure." Don't try to make up an answer. If the question is not about mental health or resources,
17
  politely inform them that you are tuned to only answer questions about mental health and well being."""