File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11# OFD 文件提取
22
3- 提取 OFD 文件内容,并以 json 格式返回。
3+ 针对原生 OFD 文件,提取相关文件内容,并以 json 格式返回,扫描版 OFD 暂时还不支持。
4+
5+ 说明:原生 OFD,即将 OFD 文件解压后,Pages 目录下的 Content.xml 基本都是 TextObject
6+ 元素来表示内容,否则如果没有 TextObject,而是使用 ImageObject元素,则表示是扫描版 OFD。
7+
8+ ## 智能体设计样例
49
510## 参数说明
611
1116| 参数名称 | 参数类型 | 参数说明 | 默认值 |
1217| -------- | --------| -------- | ------ |
1318| ` base_url ` | string | MaxKB 地址 | ` https://<MaxKB_URL>/PORT ` |
14- | ` api_key ` | string | API-KEY,请参见MaxKB右上角头像中API KEY | 'user-xxxxxxxxxxxx'|
1519
1620
1721### 输入参数
18- | 参数名称 | 参数类型 | 参数说明 | 默认值 |
19- | -------- | ------| ------------------------------------| ------ |
20- | ` file_info ` | dict | MaxKB 工作流应用中开其他文件({{开始.other}})的元素 | |
22+ | 参数名称 | 参数类型 | 参数说明 | 默认值 |
23+ | -------- | ------| --------------------------------------| ------ |
24+ | ` file_info ` | dict | MaxKB 工作流应用中开其他文件({{开始.other}})的一个元素 | |
25+
26+ 说明:可以使用循环体来对上传的多个 OFD 文件进行提取。
27+
2128
2229## 返回说明
2330返回 json,样式如下:
You can’t perform that action at this time.
0 commit comments