Update app.py
Browse files
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 = """
|
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 |
|