-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown file parsing error, chunk is not good. #5569
Comments
Hello, @blankbro! I'm here to help you with any bugs, questions, or contributions! To resolve the "chunk is not good" Markdown file parsing error in Dify version 0.6.11 when importing the README.md file from the mqtt-storm GitHub repository, follow these steps:
Here is an example of a simplified and properly structured Markdown file: # Project Title
![cover-image](https://example.com/image.png)
<p align="center">
<a href="https://example.com">Link 1</a> ·
<a href="https://example.com">Link 2</a> ·
<a href="https://example.com">Link 3</a>
</p>
## Features
- Feature 1
- Feature 2
- Feature 3
## Usage
Instructions on how to use the project.
## Contributing
Guidelines for contributing to the project.
## License
Information about the project's license. If the error persists, it may be necessary to debug further by isolating specific sections of the Markdown file to identify the problematic chunk [1]. Additionally, Dify uses the
Dify also provides built-in tools for validating or sanitizing Markdown files before parsing them, such as replacing continuous spaces, newlines, and tabs, and deleting all URLs and email addresses [3]. For more detailed error messages, check the Logs section in the Dify application, accessible via the left-side navigation [4]. |
Please use the custom separate identifier to do it. :) |
Is that it? But my problem still exists. |
Yes, you need to choose which identifier you would like to use. For example, you could fill in |
@crazywoola hi, After my investigation, I found that it was caused by the commit #2528. The md file was processed and the pictures and links were automatically removed. |
Self Checks
Dify version
0.6.11
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
import https://github.com/blankbro/mqtt-storm/blob/master/README.md
✔️ Expected Behavior
Keep the picture link in markdown.
Keep markdown format.
❌ Actual Behavior
The text was updated successfully, but these errors were encountered: