Spaces:
Sleeping
Sleeping
Tushar Malik
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -511,7 +511,7 @@ def chatbot_interface(user_query, response_style, selected_retrieval_methods, se
|
|
| 511 |
chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
|
| 512 |
|
| 513 |
selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods.split(',') if method.strip()]
|
| 514 |
-
selected_reranking_methods_list = [method.strip() for method in selected_reranking_methods
|
| 515 |
|
| 516 |
response, retrieved_docs, source_info = asyncio.run(chatbot.generate_response_with_rag(
|
| 517 |
user_query=user_query,
|
|
|
|
| 511 |
chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
|
| 512 |
|
| 513 |
selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods.split(',') if method.strip()]
|
| 514 |
+
selected_reranking_methods_list = [method.strip() for method in selected_reranking_methods if method.strip()]
|
| 515 |
|
| 516 |
response, retrieved_docs, source_info = asyncio.run(chatbot.generate_response_with_rag(
|
| 517 |
user_query=user_query,
|