chatchat-space / Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
Apache License 2.0
31.77k stars 5.54k forks source link

[BUG] 数据上传失败,无法添加到向量库中 #4089

Closed Ricco567 closed 4 months ago

Ricco567 commented 5 months ago

问题描述 / Problem Description 执行python init_database.py --recreate-vs 显示warning: tokenization_chatglm.py[line:164] - WARNING: Setting eos_token is not supported, use the default one. tokenization_chatglm.py[line:160] - WARNING: Setting pad_token is not supported, use the default one. tokenization_chatglm.py[line:156] - WARNING: Setting unk_token is not supported, use the default one.

执行python startup.py -a,在WebUI界面上显示知识库文件没有成功添加到向量库中: image

在WebUI界面上新建数据库,并上传文件,仍显示以上warning,并且没有成功将文件添加到向量库中: image

Qacket commented 4 months ago

我也碰到了相同的问题,请问解决了吗

liunux4odoo commented 4 months ago

看第二行文档数量已经入库成功了,"X"是显示错误,0.2.final和0.3.x 分支已经修复

liunux4odoo commented 4 months ago

Duplicate of #4015