mmargg commited on
Commit
6da4667
·
verified ·
1 Parent(s): e2b1b49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ client= InferenceClient("openai/gpt-oss-20b")
125
 
126
  def respond(message,history):
127
  information = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
128
- 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. When you give advice, keep in mind the following infromation {information}"}]
129
 
130
 
131
  if history:
 
125
 
126
  def respond(message,history):
127
  information = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
128
+ 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 and punctuation. When you give advice, keep in mind the following information {information}"}]
129
 
130
 
131
  if history: