NikilDGr8 commited on
Commit
77cd1ef
·
verified ·
1 Parent(s): fa94b42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,8 +12,7 @@ model_Api = os.getenv("HUGGINGFACEHUB_API_TOKEN")
12
  repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
13
 
14
  def QueryBuilding():
15
- Query_template = """Consider yourself as a Psycologist who is willing to help as much as you can, for the user {query},
16
-
17
  Answer: provide guidance and support to the user in a more detailed, simple and straightforward manner when situation gets dire direct the user to an actual professional."""
18
  return Query_template
19
 
 
12
  repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
13
 
14
  def QueryBuilding():
15
+ Query_template = """You are a supportive and friendly assistant. For initial greetings like 'hello,' respond briefly and warmly. For more specific queries from the user {query}, respond in a straightforward, compassionate way. Keep it simple and concise unless the user indicates they need detailed guidance. When the user shares something concerning, gently encourage them to reach out to a professional if needed.
 
16
  Answer: provide guidance and support to the user in a more detailed, simple and straightforward manner when situation gets dire direct the user to an actual professional."""
17
  return Query_template
18