Skip to content

feat: Document Extract supports inputting document URLs (for API Call)#5272

Open
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/14-feat-API-support-documentUrl
Open

feat: Document Extract supports inputting document URLs (for API Call)#5272
wangliang181230 wants to merge 1 commit into
1Panel-dev:v2from
wangliang181230:PR/14-feat-API-support-documentUrl

Conversation

@wangliang181230
Copy link
Copy Markdown
Contributor

@wangliang181230 wangliang181230 commented May 20, 2026

What this PR does / why we need it?

feat: Document Extract supports inputting document URLs (for API Call)

新特性: 文档内容提取 节点,支持传入文档的HTTP(s) URL(用于API调用时)

Summary of your change

  1. API调用时,可以使用以下参数格式传入文档了:

    {
        "message": "xxxx",
        "stream": false,
        "re_chat": false,
        "document_list": [
            { "url": "https://xxxxxx/xxxxxx.pdf" }
        ]
    }
  2. 原理:

    • 先下载文档文件,并保存到file表中
    • 再提取文档内容

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented May 20, 2026

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link
Copy Markdown

f2c-ci-robot Bot commented May 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wangliang181230 wangliang181230 force-pushed the PR/14-feat-API-support-documentUrl branch from fd40624 to e5b9e97 Compare May 20, 2026 03:28
@wangliang181230 wangliang181230 changed the title feat: Document Extract supports inputting document URLs feat: Document Extract supports inputting document URLs (for API calling) May 20, 2026
@wangliang181230 wangliang181230 force-pushed the PR/14-feat-API-support-documentUrl branch 5 times, most recently from 492a01f to d99889d Compare May 20, 2026 06:00
@wangliang181230 wangliang181230 changed the title feat: Document Extract supports inputting document URLs (for API calling) feat: Document Extract supports HTTP(s) URLs for input documents (for API-Call) May 20, 2026
@wangliang181230 wangliang181230 changed the title feat: Document Extract supports HTTP(s) URLs for input documents (for API-Call) feat: Document Extract supports HTTP(s) URLs for input documents (for API Call) May 20, 2026
@wangliang181230 wangliang181230 force-pushed the PR/14-feat-API-support-documentUrl branch from d64b76c to 15031da Compare May 20, 2026 18:14
@wangliang181230 wangliang181230 changed the title feat: Document Extract supports HTTP(s) URLs for input documents (for API Call) feat: Document Extract: 1) Supports inputting document URLs (for API calling). 2) Return the document image list May 20, 2026
@wangliang181230 wangliang181230 force-pushed the PR/14-feat-API-support-documentUrl branch from 6d2c0b4 to 0d4dd03 Compare May 20, 2026 18:43
@wangliang181230 wangliang181230 changed the title feat: Document Extract: 1) Supports inputting document URLs (for API calling). 2) Return the document image list feat: Document Extract supports inputting document URLs (for API Call) May 20, 2026
@wangliang181230 wangliang181230 force-pushed the PR/14-feat-API-support-documentUrl branch from 058fb5a to 1cda675 Compare May 21, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant