Langchain-Chatchat/server
liunux4odoo fbe214471b
知识库支持 .jsonl, .epub, .xlsx, .xlsd, .ipynb, .odt, .py, .srt, .toml, .doc, .ppt 文件 (#2079)
* 知识库支持行式 json 文件
如果要使用 json 文件, 需要 `conda install jq`(windows 下 pip install jq 会失败)

开发者:
删除 CustomJsonLoader,使用 langchain 自带的 JsonLoader 处理 json 文件,添加 JsonLinesLoader 处理 jsonl 文件。

* 知识库支持 .epub, .xlsx, .xlsd, .ipynb, .odt, .py, .srt, .toml, .doc, .ppt 文件
为 .eml, .msg, .rst, .rtf, .tsv, .docx, .xml, .pptx 指定专用加载器
2023-11-16 09:37:09 +08:00
..
agent GLM3支持传入提示词 (#2058) 2023-11-14 17:45:22 +08:00
chat 添加文件对话模式 (#2071) 2023-11-16 07:39:27 +08:00
db 添加文件对话模式 (#2071) 2023-11-16 07:39:27 +08:00
knowledge_base 知识库支持 .jsonl, .epub, .xlsx, .xlsd, .ipynb, .odt, .py, .srt, .toml, .doc, .ppt 文件 (#2079) 2023-11-16 09:37:09 +08:00
model_workers 支持通过配置项同时启动多个模型,将Wiki纳入samples知识库 (#2002) 2023-11-09 22:15:52 +08:00
static update api and webui: 2023-08-16 13:18:58 +08:00
api.py 添加文件对话模式 (#2071) 2023-11-16 07:39:27 +08:00
api_allinone_stale.py update llm_api_launch,api_allinone,webui_allinone,readme:1.llm_api_launch,api_allinone_webui_allinone更名;2. 更新readme关于startup的说明 2023-08-17 16:59:16 +08:00
embeddings_api.py 支持在线 Embeddings, Lite 模式支持所有知识库相关功能 (#1924) 2023-10-31 14:26:50 +08:00
llm_api.py 在webui模型列表中包括:非model worker启动的在线模型(如openai-api);已经下载的本地模型 (#2060) 2023-11-14 21:17:32 +08:00
llm_api_shutdown.py update import pkgs and format 2023-08-10 21:26:05 +08:00
llm_api_stale.py fix argument name in help text (#1532) 2023-09-20 10:38:50 +08:00
utils.py 添加文件对话模式 (#2071) 2023-11-16 07:39:27 +08:00
webui_allinone_stale.py update llm_api_launch,api_allinone,webui_allinone,readme:1.llm_api_launch,api_allinone_webui_allinone更名;2. 更新readme关于startup的说明 2023-08-17 16:59:16 +08:00