HarshanaLF commited on
Commit
d35aef4
1 Parent(s): 8c7374c
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -13,8 +13,10 @@ def client_fn(model):
13
  return InferenceClient(model_map.get(model, "mistralai/Mixtral-8x7B-Instruct-v0.1"))
14
 
15
  # System instructions for the models to follow
16
- system_instructions = "[SYSTEM] Your task is to Answer the question. Keep conversation very short, clear and concise. The expectation is that you will avoid introductions and start answering the query directly, Only answer the question asked by user, Do not say unnecessary things.[QUESTION]"
17
-
 
 
18
  # Function to generate model responses
19
  def models(text, model="Mixtral 8x7B"):
20
  client = client_fn(model)
 
13
  return InferenceClient(model_map.get(model, "mistralai/Mixtral-8x7B-Instruct-v0.1"))
14
 
15
  # System instructions for the models to follow
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)