Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.10,知识库 #4015

Open
zmxccxy opened this issue May 14, 2024 · 5 comments
Open

0.2.10,知识库 #4015

zmxccxy opened this issue May 14, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@zmxccxy
Copy link

zmxccxy commented May 14, 2024

e500723f76702b8c5f5a173b1b0971c 在知识库加了一个文件,这两个位置,打的都是x,之前是打√的。这是什么问题?对知识库文档有不有影响?
@zmxccxy zmxccxy added the bug Something isn't working label May 14, 2024
Copy link

dosubot bot commented May 14, 2024

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.

@zmxccxy
Copy link
Author

zmxccxy commented May 14, 2024

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

@oucyangshuai
Copy link

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

@ZG688
Copy link

ZG688 commented May 27, 2024

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

@zmxccxy
Copy link
Author

zmxccxy commented May 28, 2024

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

我的可以用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants