opendatalab / MinerU

A one-stop, open-source, high-quality data extraction tool, supports PDF/webpage/e-book extraction.一站式开源高质量数据提取工具,支持PDF/网页/多格式电子书提取。
https://opendatalab.com/OpenSourceTools
GNU Affero General Public License v3.0
13.05k stars 974 forks source link

API 能力提供 #368

Open samqin123 opened 2 months ago

samqin123 commented 2 months ago

Is your feature request related to a problem? Please describe. 您的特性请求是否与某个问题相关?请描述。 腾讯云部署fastgpt知识库应用,但是资源有限,无法本地部署MinerU。

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 对存在的问题进行清晰且简洁的描述。例如:我一直很困扰的是 [...] MinerU的功能和稳定性极大提升RAG质量,因此又急迫需要。

Describe the solution you'd like 描述您期望的解决方案

4C16G的部署资源太贵了,能否通过API形式访问,比如部署其它服务器资源上,通过API访问调用。

A clear and concise description of what you want to happen. 清晰且简洁地描述您希望实现的内容。 能否增加api项目,比如fastapi,来提供这方面的能力。另外对于文件传输,从安全性角度考虑,希望保留在本地,而不是api提供方服务器。

Describe alternatives you've considered 描述您已考虑的替代方案

A clear and concise description of any alternative solutions or features you've considered. 清晰且简洁地描述您已经考虑过的任何替代解决方案。

Additional context 提供更多细节 Add any other context or screenshots about the feature request here. 请附上任何相关截图、链接或文件,以帮助我们更好地理解您的请求。

DManh83 commented 2 months ago

What is url api? Can you please tell me?

qiankunli commented 2 months ago

期望就像 https://github.com/adithya-s-k/marker-api 针对 marker一样,提供一个类似MinerU-api 的项目来将 MinerU的能力封装为http 接口

magicyuan876 commented 1 month ago

期望就像 https://github.com/adithya-s-k/marker-api 针对 marker一样,提供一个类似MinerU-api 的项目来将 MinerU的能力封装为http 接口

https://github.com/yuanxiaobin876-cn/mineru-server 简单搞了个,可以省事用用

Jalen-Zhong commented 1 month ago

期望就像 https://github.com/adithya-s-k/marker-api 针对 marker一样,提供一个类似MinerU-api 的项目来将 MinerU的能力封装为http 接口

https://github.com/yuanxiaobin876-cn/mineru-server 简单搞了个,可以省事用用

这本质上还是没有解决模型反复加载和释放的问题

myhloli commented 1 month ago

@qiankunli @Jalen-Zhong 你们说的可能类似这个项目 https://github.com/neka-nat/mineru-api

Jalen-Zhong commented 1 month ago

@qiankunli @Jalen-Zhong 你们说的可能类似这个项目 https://github.com/neka-nat/mineru-api

有参考价值,感谢分享