[Feature] ChatKnowledge Support Excel Document (#1524)

Co-authored-by: 无剑 <zhuzhenchao@changeme.com>
This commit is contained in:
tonyzhu
2024-05-16 16:23:51 +08:00
committed by GitHub
parent a9087c3853
commit a7d62eaeb5
4 changed files with 118 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ def __getattr__(name: str):
"StringKnowledge": "string",
"TXTKnowledge": "txt",
"URLKnowledge": "url",
"ExcelKnowledge": "xlsx",
}
if name in _LIBS:
@@ -53,4 +54,5 @@ __all__ = [
"StringKnowledge",
"TXTKnowledge",
"URLKnowledge",
"ExcelKnowledge",
]