infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
24.47k stars 2.38k forks source link

[Bug]: Docx document leads to a blank display for the knowledge graph #2451

Open WildCamel opened 2 months ago

WildCamel commented 2 months ago

Is there an existing issue for the same bug?

Branch name

main

Commit ID

1621313c0f6dcd82fb67d4d00e0f9552c814361a

Other environment information

Ubuntu 20.04
Python 3.11
NodeJs v18.8.0
Nvidia RTX 3090
CUDA 11.8

Actual behavior

When using the GraphRAG model, clicking on a parsed docx document leads to a blank display for the knowledge graph image, but the mind map guide is displayed correctly. Then I imported a book.txt, and both the knowledge graph and the mind map were displayed correctly. Blank graph:

image

Mind map is ok:

image

book.txt knowledge graph and mind map both ok:

image

Expected behavior

No response

Steps to reproduce

upload docx file and trunk by GraphRAG method

Additional information

No response

yuzhichang commented 1 day ago

@WildCamel Can you upload the file which failed to display knowledge graph?