Skip to content

[Bug]: Raptor and Knowledge Graph Activation Clears Manual Chunks, Auto Chunks Reused #5396

@XiboHe

Description

@XiboHe

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

150ab9c

RAGFlow image version

v0.16.0-144-g150ab9c6 full

Other environment information

MACOS, Intel x86

Actual behavior

Raptor and Knowledge Graph Activation Clears Manual Chunks, Auto Chunks Reused

Expected behavior

Raptor and Knowledge Graph Activation reuses all chunks created, including manual added chunks.

Steps to reproduce

​1. Initial Data Processing:
With Raptor and the knowledge graph disabled, I utilized DeepDoc to parse the document, resulting in an initial set of automated text chunks.

​2. Manual Data Enhancement:
I manually added some additional chunks not captured by the automated extraction.

3. Problem
Now let's enable Raptor and the knowledge graph on existing chunks, the system automatically clears all existing chunks. While the pipeline reuses previously auto-generated chunks (via DeepDoc), ​manually added chunks are not retained, as they fall outside the scope of the automated workflow.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions