From c49b048976d31f0f7e13a5f1d11ac209ebdd06c0 Mon Sep 17 00:00:00 2001 From: GuanYuankai Date: Tue, 4 Mar 2025 18:16:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=A1=A3=E5=90=8D=E7=A7=B0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/dictionaries/Guan.xml | 7 +++++++ .../chatchat/webui_pages/knowledge_base/knowledge_base.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .idea/dictionaries/Guan.xml diff --git a/.idea/dictionaries/Guan.xml b/.idea/dictionaries/Guan.xml new file mode 100644 index 0000000..6d3db56 --- /dev/null +++ b/.idea/dictionaries/Guan.xml @@ -0,0 +1,7 @@ + + + + aggrid + + + \ No newline at end of file diff --git a/libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py b/libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py index f46867a..b7ff057 100644 --- a/libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py +++ b/libs/chatchat-server/chatchat/webui_pages/knowledge_base/knowledge_base.py @@ -238,7 +238,7 @@ def knowledge_base_page(api: ApiRequest, is_lite: bool = None): doc_details, { ("No", "序号"): {}, - ("file_name", "文档名称"): {}, + ("file_name", "文档名称"): {"filter": "agTextColumnFilter"}, # ("file_ext", "文档类型"): {}, # ("file_version", "文档版本"): {}, ("document_loader", "文档加载器"): {},