Extend
Parse and extract content from documents
使用说明
Integrate Extend AI into the workflow. Parse and extract structured content from documents or file references.
工具
extend_parser
输入
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
filePath | string | 否 | URL to a document to be processed |
file | file | 否 | Document file to be processed |
fileUpload | object | 否 | File upload data from file-upload component |
outputFormat | string | 否 | Target output format (markdown or spatial). Defaults to markdown. |
chunking | string | 否 | Chunking strategy (page, document, or section). Defaults to page. |
engine | string | 否 | Parsing engine (parse_performance or parse_light). Defaults to parse_performance. |
apiKey | string | 是 | Extend API key |
输出
| 参数 | 类型 | 描述 |
|---|---|---|
id | string | Unique identifier for the parser run |
status | string | Processing status |
chunks | json | Parsed document content chunks |
blocks | json | Block-level document elements with type and content |
pageCount | number | Number of pages processed |
creditsUsed | number | API credits consumed |