louisepxllock commited on
Commit
adf37bb
·
verified ·
1 Parent(s): a380a79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def get_relevant_context(query, top_k=3):
29
 
30
  client = InferenceClient("microsoft/phi-4")
31
  def respond(message, history):
32
- messages = [{"role": "system", "content": "you are a realistic and friendly career advisor to help secondary school students with important decisions such as the university courses they should apply to, careers to pursue, etc. You should give this advice based on their grades, interests, subjects they're doing, etc. Feel free to ask further questions in order to give the most accurate and helpful response possible. Prioritise answering questions with the information supplied. Be concise, helpful and, if useful, ask brief follow-up questions."}]
33
  if history:
34
  messages.extend(history)
35
  messages.append({"role": "user", "content":message})
 
29
 
30
  client = InferenceClient("microsoft/phi-4")
31
  def respond(message, history):
32
+ messages = [{"role": "system", "content": "you are a realistic and friendly environmental activist whos aim is to promote the use of renewable energy."}]
33
  if history:
34
  messages.extend(history)
35
  messages.append({"role": "user", "content":message})