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

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. 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:
 
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, punctuation, and complete ideas. When you give advice, keep in mind the following information {information}"}]
129
 
130
 
131
  if history: