
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
dify-rag
Advanced tools
高效模块化的 RAG 包,可以快速替换 Dify 中原有的默认模块,大幅提升 Dify 的 RAG 效果。作为通用的基础包,也可以用于其他开源 RAG 服务。
pip install dify-rag
为了在 Dify 项目中使用,可以在 api/pyproject.toml 中添加 dify-rag 依赖,之后更新对应的 lock 文件,在不同版本的 Dify 中存在一些差异:
poetry lock --no-update 更新 lock 文件依赖poetry lock 更新 lock 文件依赖uv lock 更新 lock 文件依赖目前实现的模块是直接可以插拔放入 Dify 项目中的,只需要在 Dify 项目中替换掉相关模块即可。下面以 html 解析为例:
在 api/core/rag/extractor/extract_processor.py 中将原先使用 Dify 内置的 HtmlExtractor 切换为 Dify-RAG 中的 HtmlExtractor 即可。
具体需要将原有的 from core.rag.extractor.html_extractor import HtmlExtractor 替换为 from dify_rag.extractor.html_extractor import HtmlExtractor 即可
其他模块的替换也是类似的,可以根据自己的需要自行替换增强。
| 格式 | 结构化解析 | 表格解析 |
|---|---|---|
| html | 支持 | 支持独立拆分,支持转换 markdown 格式,支持按行切分 |
| md | 支持 | 支持独立拆分,支持 markdown 格式,支持按行切分 |
| docx | 支持 | 支持独立拆分,支持转换 markdown 格式,支持按行切分 |
| 部分支持,需本身有目录信息 | 不支持 | |
| epub | 支持 | 支持独立拆分,支持转换 markdown 格式,支持按行切分 |
| xlsx | 支持 | 支持独立拆分,支持转换 markdown 格式,支持按行切分 |
| csv | 支持 | 支持独立拆分,支持转换 markdown 格式,支持按行切分 |
FAQs
dify's rag patch module
We found that dify-rag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.