Replies: 2 comments 1 reply
-
|
For Dify knowledge bases, it's best to split a large datasheet into multiple smaller files or logical sections (for example, by chapter, table, or topic). This approach makes incremental updates much easier: if part of the datasheet changes, you can update or replace just the relevant file(s) or segment(s), and only those parts will be re-indexed and re-vectorized—not the entire knowledge base. Dify's API and backend are designed to support creating, updating, and deleting individual documents and segments, so you don't need to delete and re-upload everything for small changes. This modular structure is more efficient and aligns with how Dify manages vector updates and indexing tasks see documentation and backend implementation. If you use a single large file, any update will require reprocessing the whole file. Splitting into smaller files or logical parts is the recommended way to support efficient incremental updates in Dify. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
那对增量的更新,我是否再可以新建一个知识库来存放新增或者修改部分的内容,对他们进行索引和向量化?但是大模型会区分他们的先后顺序吗?能通过更新的时间来确定出来先后顺序吗? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
If my knowledge base corresponds to a single chip datasheet, should I split the datasheet into multiple files when creating the knowledge base, or keep it as a single file?
Because if the datasheet is updated later, how should I perform incremental updates? Or does having only one file mean that I can only delete the existing file to update the knowledge base?
Alternatively, do I need to split the datasheet into multiple files when creating the knowledge base so that I can support incremental updates later, without having to re-vectorize the entire knowledge base?
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions