Merge branch 'master' into boyin_rag

This commit is contained in:
Boyin Liu
2024-10-11 22:31:07 +08:00
committed by GitHub
7 changed files with 18 additions and 105 deletions

View File

@@ -74,7 +74,7 @@ def Rag问答(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, u
if VECTOR_STORE_TYPE == "Simple":
from crazy_functions.rag_fns.llama_index_worker import LlamaIndexRagWorker
# 1. Retrieve RAG worker from global context
# 1. we retrieve rag worker from global context
user_name = chatbot.get_user()
checkpoint_dir = get_log_folder(user_name, plugin_name='experimental_rag')