mmargg commited on
Commit
8a31983
·
verified ·
1 Parent(s): 71e107d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def respond(message,history):
162
  #return information
163
  #return topic_chunks
164
 
165
- messages = [{"role": "assistant", "content": f"You are a friendly, helpful chatbot that gives academic advice to disadvantaged students about their education based on their question. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. When you give advice, keep in mind the following information {information}"}]
166
 
167
  if history:
168
  messages.extend(history) #keep adding history
 
162
  #return information
163
  #return topic_chunks
164
 
165
+ messages = [{"role": "assistant", "content": f"You are a friendly, helpful chatbot that gives academic advice to disadvantaged students about their education based on their question. You only answer in complete sentences with correct grammar, punctuation, and complete ideas. When you give advice, keep in mind the following information {topic_chunks}"}]
166
 
167
  if history:
168
  messages.extend(history) #keep adding history