diff --git a/crazy_functions/Rag_Interface.py b/crazy_functions/Rag_Interface.py index 93a5fc4b..e094a223 100644 --- a/crazy_functions/Rag_Interface.py +++ b/crazy_functions/Rag_Interface.py @@ -71,10 +71,8 @@ def Rag问答(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, u from crazy_functions.rag_fns.milvus_worker import MilvusRagWorker as LlamaIndexRagWorker except: VECTOR_STORE_TYPE = "Simple" - if VECTOR_STORE_TYPE == "Simple": from crazy_functions.rag_fns.llama_index_worker import LlamaIndexRagWorker - # Define commands # 1. Retrieve RAG worker from global context user_name = chatbot.get_user()