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

[Bug] After exporting and importing knowledge base data records, the data is incorrect. #2471

Closed
ocaicaio opened this issue Mar 4, 2025 · 3 comments

Comments

@ocaicaio
Copy link

ocaicaio commented Mar 4, 2025

Contact Information

[email protected]

MaxKB Version

v1.10.1-lts (build at 2025-02-13T18:52, commit: 0640d4c)

Problem Description

Document A in the knowledge base has been segmented. I want to export the data records of this document A to a zip or excel document, and then import it into another knowledge base. I find that after importing, all the segments in the document are gone, and the segmentation format is gone! Because the results of the system's built-in intelligent segmentation and advanced segmentation are still unsatisfactory, the segmentation has been manually readjusted. Is this a bug or are we operating incorrectly? And this problem can be reproduced.

Steps to Reproduce

Document A in the knowledge base has been segmented. I want to export the data records of this document A to a zip or excel document, and then import it into another knowledge base. I find that after importing, all the segments in the document are gone, and the segmentation format is gone! Because the results of the system's built-in intelligent segmentation and advanced segmentation are still unsatisfactory, the segmentation has been manually readjusted. Is this a bug or are we operating incorrectly? And this problem can be reproduced.

The expected correct result

The default segmentation of the newly imported document is all in the original initial state, not the expected format that has been segmented before.

Related log output

Additional Information

No response

@Shenguobin0102
Copy link

你好,我们没有复现你描述的问题。导出后再导入的操作有一个细节需要注意一下,就是导出的文档是QA问答对的格式,所以导入的时候也要选择QA问答对的方式去导入,这样导入后知识库文档是完全一致的。如果使用文档导入的方式也没有问题,只是会把问答对作为普通的表格去处理。

@shaohuzhang1
Copy link
Contributor

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hello, we did not reproduce the problem you described. There is a detail that needs to be noted when importing after exporting, that is, the exported document is in the format of QA Q&A, so when importing, you should also choose the QA Q&A Q&A to import, so that the knowledge base documents are completely consistent after importing. If you use the document import method, you will only process the Q&A pair as an ordinary form.

@ocaicaio
Copy link
Author

ocaicaio commented Mar 10, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants