智信-agent
    智信-agent
    • 文件分析
      • 文件解析接口
        POST
      • 文本分段测试接口
        POST
      • 二进制文件
        POST
    • 知识库管理
      • 知识库初始化
        POST
      • 知识库召回测试
        POST
      • 知识库查询
        POST
      • 知识库文件添加
        POST
    • 工作流
      • AI生成prompt
        POST
      • 工作流运行
        POST
      • 单节点运行
        POST
      • 工作流保存接口
        POST
    • MCP管理
      • 建立MCP服务器
        POST
      • MCP服务器工具的添加
        POST
      • MCP服务器工具的删除
        POST
      • MCP服务器工具的修改
        POST
      • 修改服务器名称和描述
        POST
      • 关闭MCP服务器
        POST
      • 查看所有的工具
        POST
      • 查询当前活跃的mcp服务器信息
        GET
      • 使用指定工具
        POST
    • 数据库开发
      • 数据库内部接口
        • 接口整合
        • 自然语言及SQL执行
        • schma查询
        • 单表的字段描述查询
        • all
      • 数据库工作流运行
        • 数据库工作流保存
        • 数据库单节点运行
    • mineru
      POST

      mineru

      开发环境
      http://172.29.50.10:2333
      开发环境
      http://172.29.50.10:2333
      POST
      /file_parse

      请求参数

      Query 参数
      parse_method
      string 
      ocr txt
      可选
      示例值:
      txt
      is_json_md_dump
      boolean 
      可选
      示例值:
      false
      output_dir
      string 
      可选
      return_layout
      boolean 
      可选
      示例值:
      true
      return_info
      boolean 
      可选
      示例值:
      true
      return_content_list
      boolean 
      可选
      示例值:
      true
      return_images
      boolean 
      可选
      示例值:
      true
      Body 参数multipart/form-data
      file
      file 
      可选

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://172.29.50.10:2333/file_parse'

      返回响应

      🟢200成功
      application/json
      Body
      layout
      array [object {2}] 
      必需
      layout_dets
      array [object {4}] 
      必需
      page_info
      object 
      必需
      info
      object 
      必需
      pdf_info
      array [object {12}] 
      必需
      _parse_type
      string 
      必需
      _version_name
      string 
      必需
      content_list
      array [object {7}] 
      必需
      type
      string 
      必需
      text
      string 
      必需
      text_level
      integer 
      必需
      page_idx
      integer 
      必需
      img_path
      string 
      可选
      img_caption
      array[string]
      可选
      img_footnote
      array[string]
      可选
      images
      object 
      必需
      b34de61c0aab79ba6234be8b1729b55f20abac9980088c5c84cd34f63e4fca22.jpg
      string 
      必需
      md_content
      string 
      必需
      示例
      {
          "layout": [
              {
                  "layout_dets": [
                      {
                          "category_id": 0,
                          "poly": [
                              0
                          ],
                          "score": 0,
                          "text": "string"
                      }
                  ],
                  "page_info": {
                      "page_no": 0,
                      "width": 0,
                      "height": 0
                  }
              }
          ],
          "info": {
              "pdf_info": [
                  {
                      "preproc_blocks": [
                          {
                              "type": "string",
                              "bbox": [
                                  0
                              ],
                              "lines": [
                                  {
                                      "bbox": [
                                          0
                                      ],
                                      "spans": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "score": 0,
                                              "content": "string",
                                              "type": "string"
                                          }
                                      ],
                                      "index": 0
                                  }
                              ],
                              "index": 0,
                              "blocks": [
                                  {
                                      "type": "string",
                                      "bbox": [
                                          0
                                      ],
                                      "group_id": 0,
                                      "lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  {
                                                      "bbox": [
                                                          0
                                                      ],
                                                      "score": 0,
                                                      "type": "string",
                                                      "image_path": "string"
                                                  }
                                              ]
                                          }
                                      ],
                                      "index": 0,
                                      "virtual_lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  "string"
                                              ],
                                              "index": 0
                                          }
                                      ]
                                  }
                              ]
                          }
                      ],
                      "layout_bboxes": [
                          "string"
                      ],
                      "page_idx": 0,
                      "page_size": [
                          0
                      ],
                      "_layout_tree": [
                          "string"
                      ],
                      "images": [
                          {
                              "type": "string",
                              "bbox": [
                                  0
                              ],
                              "blocks": [
                                  {
                                      "type": "string",
                                      "bbox": [
                                          0
                                      ],
                                      "group_id": 0,
                                      "lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  {
                                                      "bbox": [
                                                          0
                                                      ],
                                                      "score": 0,
                                                      "type": "string",
                                                      "image_path": "string"
                                                  }
                                              ]
                                          }
                                      ],
                                      "index": 0,
                                      "virtual_lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  "string"
                                              ],
                                              "index": 0
                                          }
                                      ]
                                  }
                              ],
                              "index": 0
                          }
                      ],
                      "tables": [
                          "string"
                      ],
                      "interline_equations": [
                          "string"
                      ],
                      "discarded_blocks": [
                          {
                              "type": "string",
                              "bbox": [
                                  0
                              ],
                              "lines": [
                                  {
                                      "bbox": [
                                          0
                                      ],
                                      "spans": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "score": 0,
                                              "content": "string",
                                              "type": "string"
                                          }
                                      ]
                                  }
                              ]
                          }
                      ],
                      "need_drop": true,
                      "drop_reason": [
                          "string"
                      ],
                      "para_blocks": [
                          {
                              "type": "string",
                              "bbox": [
                                  0
                              ],
                              "lines": [
                                  {
                                      "bbox": [
                                          0
                                      ],
                                      "spans": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "score": 0,
                                              "content": "string",
                                              "type": "string",
                                              "cross_page": true
                                          }
                                      ],
                                      "index": 0
                                  }
                              ],
                              "index": 0,
                              "page_num": "string",
                              "page_size": [
                                  0
                              ],
                              "bbox_fs": [
                                  0
                              ],
                              "lines_deleted": true,
                              "blocks": [
                                  {
                                      "type": "string",
                                      "bbox": [
                                          0
                                      ],
                                      "group_id": 0,
                                      "lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  {
                                                      "bbox": [
                                                          0
                                                      ],
                                                      "score": 0,
                                                      "type": "string",
                                                      "image_path": "string"
                                                  }
                                              ]
                                          }
                                      ],
                                      "index": 0,
                                      "virtual_lines": [
                                          {
                                              "bbox": [
                                                  0
                                              ],
                                              "spans": [
                                                  "string"
                                              ],
                                              "index": 0
                                          }
                                      ]
                                  }
                              ]
                          }
                      ]
                  }
              ],
              "_parse_type": "string",
              "_version_name": "string"
          },
          "content_list": [
              {
                  "type": "string",
                  "text": "string",
                  "text_level": 0,
                  "page_idx": 0,
                  "img_path": "string",
                  "img_caption": [
                      "string"
                  ],
                  "img_footnote": [
                      "string"
                  ]
              }
          ],
          "images": {
              "b34de61c0aab79ba6234be8b1729b55f20abac9980088c5c84cd34f63e4fca22.jpg": "string"
          },
          "md_content": "string"
      }
      修改于 2025-06-12 01:13:26
      上一页
      数据库单节点运行
      Built with