Skip to content

add mineru operator via api calling#411

Merged
SunnyHaze merged 3 commits intoOpenDCAI:mainfrom
ZhaoyangHan04:main
Dec 21, 2025
Merged

add mineru operator via api calling#411
SunnyHaze merged 3 commits intoOpenDCAI:mainfrom
ZhaoyangHan04:main

Conversation

@ZhaoyangHan04
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@SunnyHaze SunnyHaze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

整体看上去没问题,我犹豫的点就是key如何和webui配合起来比较好。
可能一个可行的策略是在core/config.py里面配置key?或者统一设置一个key文件路径?会不会好一点。。。然后自动set环境变量。


# -------- 2. instantiate MinerU extractor --------
extractor = MinerUBatchExtractorViaAPI(
api_key=os.getenv("MINERU_API_KEY"),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MOLYHECI zimo麻烦一起看一下这个key怎么结合到webui的后端比较优雅。

@SunnyHaze SunnyHaze merged commit 3a8a10b into OpenDCAI:main Dec 21, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants