Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: markdown proc will remove image (#5855)

tangyoha0cbbaf3f68a5
diff --git a/api/core/rag/extractor/markdown_extractor.py b/api/core/rag/extractor/markdown_extractor.py
index 91c687bac9e..faa1e64057b 100644
--- a/api/core/rag/extractor/markdown_extractor.py
+++ b/api/core/rag/extractor/markdown_extractor.py
@@ -18,8 +18,8 @@ class MarkdownExtractor(BaseExtractor):
def __init__(
self,
file_path: str,
- remove_hyperlinks: bool = True,
- remove_images: bool = True,
+ remove_hyperlinks: bool = False,
+ remove_images: bool = False,
encoding: Optional[str] = None,
autodetect_encoding: bool = True,
):