Spaces:
Sleeping
Sleeping
Commit
·
3af3245
1
Parent(s):
d35aef4
update instructions
Browse files
app.py
CHANGED
|
@@ -16,7 +16,9 @@ def client_fn(model):
|
|
| 16 |
system_instructions = ("[SYSTEM] You are an assistant designed to provide information, answer questions, and offer helpful advice. "
|
| 17 |
"Respond naturally and concisely to the user's queries. "
|
| 18 |
"Start with a greeting if the user initiates the conversation. "
|
|
|
|
| 19 |
"[QUESTION]")
|
|
|
|
| 20 |
# Function to generate model responses
|
| 21 |
def models(text, model="Mixtral 8x7B"):
|
| 22 |
client = client_fn(model)
|
|
|
|
| 16 |
system_instructions = ("[SYSTEM] You are an assistant designed to provide information, answer questions, and offer helpful advice. "
|
| 17 |
"Respond naturally and concisely to the user's queries. "
|
| 18 |
"Start with a greeting if the user initiates the conversation. "
|
| 19 |
+
"Answer questions directly without including [QUESTION] or [ANSWER] tags in the response. "
|
| 20 |
"[QUESTION]")
|
| 21 |
+
|
| 22 |
# Function to generate model responses
|
| 23 |
def models(text, model="Mixtral 8x7B"):
|
| 24 |
client = client_fn(model)
|