HuanLinOTO/dsh-plugin-mineru ↗★ 4
@huanlin/dsh-plugin-mineru
DSH plugin exposing MinerU document parsing tools to the model, with a web UI settings page for the API base URL.
AI 分析
为 Agent 赋能专业的 PDF 及多格式文档解析能力。适合需要处理复杂排版、公式或扫描件文档,并拥有自托管 MinerU 服务的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-mineruドキュメント
README 全文を読む ↗配置
在 DSH GUI 设置页或 cordis.patch.yml 中配置:
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
baseURL | string | (必填) | MinerU API 地址,如 http://your-mineru-host:18000 |
apiKeyEnv | credential-ref | MINERU_API_KEY | API key 的环境变量名 / 凭据引用。测试实例无需鉴权。 |
defaultBackend | enum | pipeline | pipeline / vlm-engine / hybrid-engine / vlm-http-client / hybrid-http-client |
defaultParseMethod | enum | auto | auto / txt / ocr |
defaultLang | string | ch | pipeline 后端的语言代码 |
pollIntervalMs | number | 2000 | 异步状态轮询间隔 |
pollTimeoutMs | number | 600000 | mineru_parse_document 最大轮询时长(10 分钟) |
requestTimeoutMs | number | 60000 | 单次 HTTP 请求超时 |
maxMdOutputChars | number | 200000 | 内联返回给模型的 markdown 字符上限;超出时完整内容存到临时文件 |