mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-11 20:06:52 +08:00
feat(knowledge): 添加 MinerU组件以支持 PDF 文件处理
- 新增 RenderMinerU 组件,用于 PDF 文件的预处理和 Markdown 编辑 - 在 create.vue 中集成 RenderMinerU组件,实现预处理结果预览功能 - 更新公共样式以支持 Markdown 渲染 - 在 main.js 中注册 RMinerU组件 - 修改 package.json,添加 markdown-it 和 markdown-it-katex 依赖 - 更新 vue.config.js,添加对 mjs 文件的处理规则
This commit is contained in:
@@ -40,3 +40,21 @@ export function datasetDelete(data) {
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
//minerU 获取bbox
|
||||
export function minerUBbox(params) {
|
||||
return request({
|
||||
url:'http://192.168.8.165:7196/document/mineru/bbox_json',
|
||||
// url: getUrl('/document/mineru/bbox_json'),
|
||||
method: 'get',
|
||||
params:params
|
||||
})
|
||||
}
|
||||
//minerU 获取markdown
|
||||
export function minerUMarkDown(params) {
|
||||
return `http://192.168.8.165:7196/document/mineru/md?documentId=${params.documentId}`
|
||||
// url: getUrl('/document/mineru/md'),
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user