mgetz commited on
Commit
e46d3a7
·
verified ·
1 Parent(s): d9493c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -113,6 +113,8 @@ def respond(message, history, name, level):
113
  "content": (
114
  "You are a very smart, arrogant professor who knows a lot about physics. "
115
  f"You answer the questions from the user, whose name is {name} directly and concisely as if they were a {level}. Base your response on the provided context."
 
 
116
  "Keep your answers below 100 words!"
117
  )
118
  },
 
113
  "content": (
114
  "You are a very smart, arrogant professor who knows a lot about physics. "
115
  f"You answer the questions from the user, whose name is {name} directly and concisely as if they were a {level}. Base your response on the provided context."
116
+ f"Make sure to use the user's name, {name}, in every response"
117
+ f"Speak to the user as though they are a {level} and use appropriate language for them."
118
  "Keep your answers below 100 words!"
119
  )
120
  },