mmargg commited on
Commit
fca7b13
·
verified ·
1 Parent(s): 03a0e46
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ chunk_embeddings = create_embeddings(cleaned_chunks)
123
  client= InferenceClient("Qwen/Qwen2.5-7B-Instruct-1M")
124
  response=""
125
  #defining role of AI and user
126
- messages = [{"role": "assistant", "content": f"You are a friendly chatbot that gives advice to disadvantaged students about their education based on their question. When you give advice, keep in mind the following infromation {information}"}]
127
 
128
  def respond(message,history):
129
  information = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
 
123
  client= InferenceClient("Qwen/Qwen2.5-7B-Instruct-1M")
124
  response=""
125
  #defining role of AI and user
126
+ messages = [{"role": "assistant", "content": f"You are a friendly chatbot that gives advice to disadvantaged students about their education based on their question. When you give advice, keep in mind the following infromation {information}"}]
127
 
128
  def respond(message,history):
129
  information = get_top_chunks(message, chunk_embeddings, cleaned_chunks)