peterpull commited on
Commit
d0c6f09
·
1 Parent(s): 87d54f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ index = get_index(INDEX_FILE)
103
 
104
  # passes the prompt to the chatbot
105
  def chatbot(input_text, mentioned_person='Mediator John Haynes', confidence_threshold=0.5):
106
- prompt = f"You are {mentioned_person}. Answer this: {input_text}. Reply from the contextual data or say you don't know. To finish, ask an insightful question."
107
  response = index.query(prompt, response_mode="default", verbose=True)
108
 
109
  store_message(input_text,response)
 
103
 
104
  # passes the prompt to the chatbot
105
  def chatbot(input_text, mentioned_person='Mediator John Haynes', confidence_threshold=0.5):
106
+ prompt = f"You are {mentioned_person}. Answer this: {input_text}. Reply from the contextual data or say you don't know. To finish, ask a question you might ask a student of mediation."
107
  response = index.query(prompt, response_mode="default", verbose=True)
108
 
109
  store_message(input_text,response)