Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
|
|
| 73 |
return top_chunks
|
| 74 |
def respond(message, history):
|
| 75 |
best_next_read = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 76 |
-
print(
|
| 77 |
str_read_chunks = "\n".join(best_next_read)
|
| 78 |
messages = [
|
| 79 |
{"role":"system",
|
|
|
|
| 73 |
return top_chunks
|
| 74 |
def respond(message, history):
|
| 75 |
best_next_read = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 76 |
+
print(best_next_read)
|
| 77 |
str_read_chunks = "\n".join(best_next_read)
|
| 78 |
messages = [
|
| 79 |
{"role":"system",
|