adjust rag

这个提交包含在:
binary-husky
2024-11-19 14:59:50 +00:00
父节点 3520131ca2
当前提交 ef18aeda81
共有 4 个文件被更改,包括 1 次插入8 次删除

查看文件

@@ -95,9 +95,6 @@ def Rag问答(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, u
yield from update_ui_lastest_msg('已清空', chatbot, history, delay=0) # 刷新界面
return
else:
report_exception(chatbot, history, a=f"上传文件路径错误: {txt}", b="请检查并提供正确路径。")
# 3. Normal Q&A processing
chatbot.append([txt, f'正在召回知识 ({current_context}) ...'])
yield from update_ui(chatbot=chatbot, history=history) # 刷新界面