Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

0.2.10,知识库

Open zmxccxy opened this issue 1 year ago • 3 comments

e500723f76702b8c5f5a173b1b0971c 在知识库加了一个文件,这两个位置,打的都是x,之前是打√的。这是什么问题?对知识库文档有不有影响?

zmxccxy avatar May 14 '24 07:05 zmxccxy

The change from check marks to "x" marks in your application's UI after adding a file to the knowledge base indicates a change in the document's status regarding its presence in the folder or database. This is controlled by the cell_renderer function, which renders "✓" for documents present (true) and "×" for those not present (false). This directly affects the document's functionality or accessibility within the application, depending on its expected presence for certain operations.

The application handles documents not present in the folder or database by providing functionality to delete such documents from the database if they are not found in the local folder, and vice versa. This ensures consistency and prevents accessibility issues for missing documents. The process of adding a document involves preparing the document, generating embeddings, assigning a unique ID, and adding the document to the ChromaDB collection. The UI is then updated to reflect the addition of the document to the knowledge base.

There are specific requirements or constraints for documents to be successfully added to the knowledge base, including file existence in the folder, inclusion in the vector store (database), file upload constraints, and document processing parameters. Failure to meet these requirements could result in an "x" mark in the UI, indicating issues with the document's addition or presence in the knowledge base.

This behavior is designed to maintain the integrity and reliability of the document management system, ensuring that only existing, consistent documents are accessible and managed by the application.

Details

Sources


About Dosu This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

dosubot[bot] avatar May 14 '24 07:05 dosubot[bot]

image 已经在磁盘了,但是源文件和向量库,还是打x。

zmxccxy avatar May 14 '24 08:05 zmxccxy

这是个bug,我回退到上一个版本,先用着

oucyangshuai avatar May 17 '24 01:05 oucyangshuai

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

ZG688 avatar May 27 '24 02:05 ZG688

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

我的可以用

zmxccxy avatar May 28 '24 09:05 zmxccxy

image image 我的也是 找不到文档

pyxiaoxiaobo avatar May 31 '24 08:05 pyxiaoxiaobo

@oucyangshuai 请问一下是哪个日期地版本呢,这个×会影响向量库地使用么,谢谢!!

yanke901 avatar Jun 01 '24 07:06 yanke901

这是个bug,我回退到上一个版本,先用着

@oucyangshuai 请问一下是哪个日期地版本呢,这个×会影响向量库地使用么,谢谢!!

yanke901 avatar Jun 07 '24 00:06 yanke901

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

我的知识库问答也不行,请问解决了吗

Alan-zhong avatar Jun 12 '24 09:06 Alan-zhong

我的知识库问答也不行,请问解决了吗

image image 我的也是 找不到文档

image image 我的也是 找不到文档

请问您解决了吗?我也遇到同样问题

Alan-zhong avatar Jun 12 '24 09:06 Alan-zhong

没有 

Tale off @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年6月12日(星期三) 下午5:31 收件人: @.>; 抄送: "Tale @.>; @.>; 主题: Re: [chatchat-space/Langchain-Chatchat] 0.2.10,知识库 (Issue #4015)

我的知识库问答也不行,请问解决了吗

我的也是 找不到文档

我的也是 找不到文档

请问您解决了吗?我也遇到同样问题

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

pyxiaoxiaobo avatar Jun 13 '24 03:06 pyxiaoxiaobo

该问题在0.3.x版已经修复: #4179 0.2.10版的可以自己把 webui_pages/knowledge_base.py config_aggrid 里面的 cell_render都去掉就行了。

liunux4odoo avatar Jun 13 '24 04:06 liunux4odoo

依然匹配不到知识库,只是图表对了也没用

Tale off @.***

 

------------------ 原始邮件 ------------------ 发件人: "chatchat-space/Langchain-Chatchat" @.>; 发送时间: 2024年6月13日(星期四) 中午12:16 @.>; 抄送: "Tale @.@.>; 主题: Re: [chatchat-space/Langchain-Chatchat] 0.2.10,知识库 (Issue #4015)

该问题在0.3.x版已经修复: #4179 0.2.10版的可以自己把 webui_pages/knowledge_base.py config_aggrid 里面的 cell_render都去掉就行了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

pyxiaoxiaobo avatar Jun 16 '24 12:06 pyxiaoxiaobo

依然匹配不到知识库,只是图表对了也没用 Tale off @.***   ------------------ 原始邮件 ------------------ 发件人: "chatchat-space/Langchain-Chatchat" @.>; 发送时间: 2024年6月13日(星期四) 中午12:16 @.>; 抄送: "Tale @.@.>; 主题: Re: [chatchat-space/Langchain-Chatchat] 0.2.10,知识库 (Issue #4015) 该问题在0.3.x版已经修复: #4179 0.2.10版的可以自己把 webui_pages/knowledge_base.py config_aggrid 里面的 cell_render都去掉就行了。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

解决了不,解决了不

Alan-zhong avatar Jun 17 '24 02:06 Alan-zhong

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

请问解决了吗

Alan-zhong avatar Jun 17 '24 03:06 Alan-zhong

不能用不了  

Tale off @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2024年6月17日(星期一) 中午11:07 收件人: @.>; 抄送: "Tale @.>; @.>; 主题: Re: [chatchat-space/Langchain-Chatchat] 0.2.10,知识库 (Issue #4015)

这个×可能是显示错误,你的知识库问答能用吗?我的不行,一直都是未找到相关文档

请问解决了吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

pyxiaoxiaobo avatar Jun 17 '24 08:06 pyxiaoxiaobo

knowledge_base.py中的204、205行注释掉就可以了 #doc_details["in_folder"] = doc_details["in_folder"].replace(True, "✓").replace(False, "×") #doc_details["in_db"] = doc_details["in_db"].replace(True, "✓").replace(False, "×")

tankGe avatar Jun 27 '24 06:06 tankGe