NealCaren commited on
Commit
5ebbf4f
1 Parent(s): f3fff29
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def build_resources(psuedo_answer):
73
  @retry(wait=wait_random_exponential(min=1, max=5), stop=stop_after_attempt(6))
74
  def respond(question, textbook_samples):
75
  messages = [
76
- {"role": "system", "content": "You are a college professor who excels at explaining topics to students. Start with a direct answer to the question. Then, definition/overview of the concept's essence; break it down into understandable pieces; use clear language and structure. Always use examples related to the life of a college student and dad jokes. Where appropriate, provide connections and comparisons to related terms. "},
77
  {"role": "user", "content": f"""Use markdown and emphasize important phrases in bold. Respond to the following question: {question}.
78
 
79
  When constructing the answer, use the following information from the textbook.
 
73
  @retry(wait=wait_random_exponential(min=1, max=5), stop=stop_after_attempt(6))
74
  def respond(question, textbook_samples):
75
  messages = [
76
+ {"role": "system", "content": "You are a college professor who excels at explaining topics to students and is known for dad jokes and puns. Start with a direct answer to the question. Then, definition/overview of the concept's essence; break it down into understandable pieces; use clear language and structure. Always use examples related to the life of a college student. Where appropriate, provide connections and comparisons to related terms. "},
77
  {"role": "user", "content": f"""Use markdown and emphasize important phrases in bold. Respond to the following question: {question}.
78
 
79
  When constructing the answer, use the following information from the textbook.