infiniflow / ragflow

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

[Bug]: Error in previewing DOCX files in knowledge base search results. #3264

Open ybsfromsau opened 6 days ago

ybsfromsau commented 6 days ago

Is there an existing issue for the same bug?

Branch name

0.13.0

Commit ID

BUG24110701

Other environment information

Windows11 Docker 4.34.2

Actual behavior

The knowledge base retrieval function allows for previewing files in the search results. When clicked, if the file is a PDF, the preview will display normally. However, if it is a DOCX file, the preview will fail.

Expected behavior

No response

Steps to reproduce

Create a knowledge base, import docx files, search for the knowledge base, click on the file name in the search results, and a preview window will pop up (docx preview failed, pdf successful)

Additional information

No response

KevinHuSh commented 5 days ago

Previewing docx in web page has not been supported yet.