Tushar Malik commited on
Commit
7d4aeb9
·
verified ·
1 Parent(s): 4071d0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -510,7 +510,7 @@ def chatbot_interface(user_query, response_style, selected_retrieval_methods, se
510
 
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(
 
510
 
511
  chatbot = MistralRAGChatbot(vector_db_path, annoy_index_path)
512
 
513
+ selected_retrieval_methods_list = [method.strip() for method in selected_retrieval_methods 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(