mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 10:05:47 -04:00
[Plugin Request]: minerU插件需要升级 ,minerU2本地部署适配问题 #176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lichangfeng-1 on GitHub (Jul 19, 2025).
Plugin Name
mineu2
Function Description
现有的插件存在api对接失败的问题
我是本地部署的 dify 和 minerU2,
dify的现有的0.2 版本 minerU插件信息:
PARSE FILE:
输入:
{
"file": {
"dify_model_identity": "dify__file",
"id": null,
"tenant_id": "739f5fff-6xxxxxxxxxxxxxx42",
"type": "document",
"transfer_method": "local_file",
"remote_url": "xxxxx",[这个地址可以在局域网打开,是 一个我上传的pdf文件]
"filename": "3.行业应用篇-DeepSeek入门宝典.pdf",
"extension": ".pdf",
"mime_type": "application/pdf",
"size": 1325796,
"url": "xxxxxx"
}
}
输出:
{
"text": "Failed to parse file. result: {"detail":[{"type":"missing","loc":["body","files"],"msg":"Field required","input":null}]}",
"files": [],
"json": [
{
"data": []
}
]
}
minerU2 后台日志:
INFO:"POST /file_parse?parse_method=auto&return_layout=False&return_info=False&return_content_list=True&return_images=True HTTP/1.1" 422 Unprocessable Entity
Official Website URL
https://github.com/opendatalab/mineru
@xxxlu0714 commented on GitHub (Jul 21, 2025):
同一个问题 Failed to parse file. result: {"detail":[{"type":"missing","loc":["body","files"],"msg":"Field required","input":null}]}
@ElvisBluetooth commented on GitHub (Feb 3, 2026):
"formula_enable": tool_parameters.get("formula_enable", True),
"table_enable": tool_parameters.get("table_enable", True),
这两个参数有问题,和yaml定义的不一样。
name: enable_formula
type: boolean
required: false
default: true
label:
zh_Hans: 开启公式识别
en_US: Enable formula recognition
ja_JP: 数式認識を有効にする
human_description:
zh_Hans: (用于官方API和本地部署v2版本)是否开启公式识别
en_US: (For official API and local deployment v2) Whether to enable formula recognition
ja_JP: (公式API用とローカルデプロイメントv2用)数式認識を有効にするかどうか
llm_description: (For official API and local deployment v2) Whether to enable formula recognition
form: form
name: enable_table
type: boolean
required: false
default: true
label:
zh_Hans: 开启表格识别
en_US: Enable table recognition
ja_JP: 表認識を有効にする
human_description:
zh_Hans: (用于官方API和本地部署v2版本)是否开启表格识别
en_US: (For official API and local deployment v2) Whether to enable table recognition
ja_JP: (公式API用とローカルデプロイメントv2用)表認識を有効にするかどうか
llm_description: (For official API and local deployment v2) Whether to enable table recognition
form: form