Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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:
|