Skip to content

[Bug]: Parsing 2nd Knowledgebase with Knowledge Graph removes Knowledge Graph from 1st Knowledgebase #6066

Closed
@paulieweb

Description

@paulieweb

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

RAGFlow workspace code commit ID

d447392

RAGFlow image version

d447392(v0.17.2 full)

Other environment information

- 16 GB Memory / 4 Intel vCPUs / 320 GB Disk
- Ubuntu 22.04 (LTS) x64, Docker

Actual behavior

  • When I parse Knowledge base A with knowledge graph enabled, it finishes, and shows the Knowledge graph link on the left-side menu of KB-A after finished parsing/ingesting.
  • Next I parse Knowledge base B with knowledge graph enabled, it finishes, and shows the Knowledge graph link on the left-side menu of KB-B after finished parsing/ingesting.
  • But now when I go back to Knowledge base A, the link for Knowledge graph on the left-side menu has disappeared. Confirmed as well by going to /knowledge/knowledgeGraph?id=____ in browser, and the Network request response for knowledge_graph shows an empty JSON response:
    {"code":0,"data":{"graph":{},"mind_map":{}},"message":"success"}

Expected behavior

  • When I parse Knowledge base A with knowledge graph enabled, it finishes, and shows the Knowledge graph link on the left-side menu of KB-A after finished parsing/ingesting.
  • Next I parse Knowledge base B with knowledge graph enabled, it finishes, and shows the Knowledge graph link on the left-side menu of KB-B after finished parsing/ingesting.
  • Next, when I go back to Knowledge base A, the link for Knowledge graph on the left-side menu should still be there, and clicking it should display the relevant knowledge graph.

Steps to reproduce

1. Create a knowledgebase (KB-A)
2. Add files to it, configure it to ingest with "Extract knowledge graph", method: Light
3. Parse/ingest and wait for it to finish - will show Knowledge graph for KB-A
4. Create a knowledgebase (KB-B)
5. Add files to it, configure it to ingest with "Extract knowledge graph", method: General
6. Parse/ingest and wait for it to finish - will show Knowledge graph for KB-B
7. Go back to 1st knowledgebase (KB-A), and the link for Knowledge graph has disappeared

Additional information

I'm on v0.17.1 full, and I have 4 different knowledgebases I was attempting to parse files and create a knowledge graph for (experimenting with different settings).

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions