What's the best document format for import? #949

Closed
opened 2026-02-21 17:29:10 -05:00 by yindo · 2 comments
Owner

Originally created by @xmsz-stu on GitHub (Jan 23, 2024).

Self Checks

Provide a description of the help you need

I want to import my existing documents into dify. My documents are in Feishu format, and I can only export them as PDF or Word. Which format would be better to choose, and what are the differences between them?

Additionally, would it be better to export as Markdown?, Even though it requires manual conversion from Feishu documents, which adds to the development cost?

Furthermore, if I want to support more rich text types in the response content, such as links and images, how should I set up my documents?

Originally created by @xmsz-stu on GitHub (Jan 23, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to file this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). ### Provide a description of the help you need I want to import my existing documents into dify. My documents are in Feishu format, and I can only export them as PDF or Word. Which format would be better to choose, and what are the differences between them? Additionally, would it be better to export as Markdown?, Even though it requires manual conversion from Feishu documents, which adds to the development cost? Furthermore, if I want to support more rich text types in the response content, such as links and images, how should I set up my documents?
yindo added the 💪 enhancement📚 documentation labels 2026-02-21 17:29:10 -05:00
yindo closed this issue 2026-02-21 17:29:10 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 23, 2024):

🤖

Hello @xmsz-stu,

Nice to see you again! I hope you're doing well.

You've raised some great questions, and I'm diving into them right now. I'll follow up shortly with a detailed response.

Hang tight!

@dosubot[bot] commented on GitHub (Jan 23, 2024): _🤖_ <!-- Greeting --> Hello @xmsz-stu, Nice to see you again! I hope you're doing well. You've raised some great questions, and I'm diving into them right now. I'll follow up shortly with a detailed response. Hang tight!
Author
Owner

@crazywoola commented on GitHub (Jan 23, 2024):

For me, I would suggest using markdown files to store structured data. But the limitations of large models themselves lead to poor image recognition.
We use unstructureio to parse PDF and other file formats. So, it highly depends on the library itself.

@crazywoola commented on GitHub (Jan 23, 2024): For me, I would suggest using markdown files to store structured data. But the limitations of large models themselves lead to poor image recognition. We use unstructureio to parse PDF and other file formats. So, it highly depends on the library itself.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#949