Files
沃巴蒂 ff22ed3a8b feat(deepdata): 引入修改密码、文件预览组件与清洗算子增强,deepflow 改名为 deep-flow
本次同步 09-12 至 09-28 的代码变更,主要内容:

新增功能
- 修改密码:后端新增 ChangePasswordRequest DTO 与UserController/UserService
  对应接口,前端新增 ChangePasswordDialog 并在 Header 接入入口
- 文件预览组件重构:file-preview 目录拆分出 VideoPreview(支持 blobUrl 直传)、
  ImagePreview、AudioPreview,index.tsx 统一调度各类型预览器
- 新增 my_ops 算子模块:markitdown_parser、mineru_pdf_parser、text_quality_evaluator
- 新增 tools/minio-file-server MinIO 文件服务

功能增强
- 数据清洗:cleaning_task_service/scheduler/routes 重构,
  data_juicer_executor 与 wrapper 增强,OperatorTable/LogsTable/TaskDetail 同步调整
- 数据标注:annotation sync.py、project.py 接口与schema 更新
- 数据采集、算子市场、首页与菜单路由相关页面调整
- DataJuicer 算子接入(useOperatorOperations、dj_ops_schema)

结构调整
- deepflow/ 更名为 deep-flow/(419 个文件重命名)
- 新增 helm 部署编排、GitHub Actions 之外的自建镜像构建脚本

未纳入本次提交
- scripts-backup/、runtime/python-executor-backup/、components_backup/(备份目录)
- *.backup*、__pycache__ 产物
- zh_core_web_sm-3.8.0-py3-none-any.whl(46MB 构建产物)
- DataX/(内嵌独立仓库,远程亦未收录其源码)
2026-10-03 22:44:56 +08:00

133 lines
3.8 KiB
YAML

name: "MinerU PDF Parser"
description: "调用远端 MinerU FastAPI 服务解析 PDF,提取 Markdown 文本与图片。支持 Base64 内联、本地保存或上传至外部图床服务。"
language: "python"
raw_id: "MinerUPdfParser"
version: "1.0.0"
vendor: "DeepData"
modal: "text"
inputs: "text"
outputs: "text"
types:
- 'collect'
release:
- "首次发布:支持远程 MinerU API 调用"
- "新增图片外部上传图床功能"
- "优化图片处理优先级与容错机制"
runtime:
memory: 524288000
cpu: 0.1
gpu: 0
npu: 0
storage: 50MB
metrics:
- name: "吞吐量"
metric: "Depends on API latency"
- name: "准确率"
metric: "Depends on MinerU version"
settings:
mineruApi:
name: "MinerU API 地址"
description: "MinerU 服务基础 URL (如 http://mineru.ailab.ccoop.cc:18585)"
type: "input"
defaultVal: "http://mineru.ailab.ccoop.cc:18585"
required: true
server_url:
name: "兼容服务地址"
description: "VLM/Hybrid 后端所需的 OpenAI 兼容地址 (可选)"
type: "input"
defaultVal: ""
required: false
backend:
name: "解析后端"
description: "选择解析模式"
type: "select"
defaultVal: "pipeline"
required: true
options:
- label: "本地推理 (Pipeline)"
value: "pipeline"
- label: "远程 VLM (HTTP Client)"
value: "vlm-http-client"
- label: "远程混合 (Hybrid HTTP Client)"
value: "hybrid-http-client"
lang_list:
name: "语言列表"
description: "输入语言代码,多个语言用逗号分隔 (如 ch,en)"
type: "input"
defaultVal: "ch"
required: true
parse_method:
name: "解析方法"
description: "PDF 解析方式"
type: "select"
defaultVal: "auto"
required: true
options:
- label: "自动"
value: "auto"
- label: "OCR"
value: "ocr"
- label: "文本"
value: "txt"
formula_enable:
name: "启用公式识别"
description: "是否解析数学公式"
type: "switch"
defaultVal: "true"
checkedLabel: "是"
unCheckedLabel: "否"
table_enable:
name: "启用表格解析"
description: "是否解析文档中的表格"
type: "switch"
defaultVal: "true"
checkedLabel: "是"
unCheckedLabel: "否"
return_images:
name: "返回图片数据"
description: "是否将提取的图片数据包含在响应中(关闭可节省带宽)"
type: "switch"
defaultVal: "true"
checkedLabel: "是"
unCheckedLabel: "否"
timeout:
name: "请求超时 (秒)"
description: "HTTP 请求最大等待时间"
type: "slider"
defaultVal: 900
min: 60
max: 3600
step: 60
embed_images_base64:
name: "嵌入 Base64 图片"
description: "是否将提取的图片以 Base64 格式内联到 Markdown 文本中"
type: "switch"
defaultVal: "true"
checkedLabel: "是"
unCheckedLabel: "否"
# ================= 新增:外部图床上传配置 =================
upload_images:
name: "上传图片到外部服务"
description: "开启后,将自动把提取的图片上传至下方指定的 API,并替换为可访问的网络链接"
type: "switch"
defaultVal: "true"
checkedLabel: "开启上传"
unCheckedLabel: "使用 Base64/本地"
upload_api_url:
name: "图片上传 API 地址"
description: "接收图片的 POST 接口 (支持 multipart/form-data),例如: http://example.com/upload/form"
type: "input"
defaultVal: "http://mfs.ailab.ccoop.cc:18585/upload/form"
required: false
preview_base_url:
name: "图片预览基础地址"
description: "用于拼接上传返回的相对路径,生成最终 URL。例如: http://example.com"
type: "input"
defaultVal: "http://mfs.ailab.ccoop.cc:18585/"
required: false