Update app.py
Browse files
app.py
CHANGED
|
@@ -102,7 +102,7 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
|
|
| 102 |
# Return the list of most relevant chunks
|
| 103 |
return top_chunks
|
| 104 |
|
| 105 |
-
def respond(message, history):
|
| 106 |
response = ""
|
| 107 |
best_recipes_chunk = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 108 |
print(best_recipes_chunk)
|
|
|
|
| 102 |
# Return the list of most relevant chunks
|
| 103 |
return top_chunks
|
| 104 |
|
| 105 |
+
def respond(message, selected_options, history,):
|
| 106 |
response = ""
|
| 107 |
best_recipes_chunk = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 108 |
print(best_recipes_chunk)
|