36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
|
|
identity:
|
||
|
|
name: "pdf"
|
||
|
|
author: "yslg"
|
||
|
|
label:
|
||
|
|
en_US: "Extract TOC Pages and Content"
|
||
|
|
zh_Hans: "提取目录页和内容"
|
||
|
|
pt_BR: "Extrair páginas de sumário e conteúdo"
|
||
|
|
ja_JP: "目次ページと内容を抽出"
|
||
|
|
description:
|
||
|
|
human:
|
||
|
|
en_US: "Extract table-of-contents page range and all page text in that range"
|
||
|
|
zh_Hans: "提取目录页范围以及该范围内所有页文本"
|
||
|
|
pt_BR: "Extrair intervalo de páginas de sumário e todo o texto nesse intervalo"
|
||
|
|
ja_JP: "目次ページ範囲とその範囲内の全ページテキストを抽出"
|
||
|
|
llm: "Extract table-of-contents page range and all page text in that range"
|
||
|
|
parameters:
|
||
|
|
- name: file
|
||
|
|
type: file
|
||
|
|
required: true
|
||
|
|
label:
|
||
|
|
en_US: PDF File
|
||
|
|
zh_Hans: PDF 文件
|
||
|
|
pt_BR: Arquivo PDF
|
||
|
|
ja_JP: PDFファイル
|
||
|
|
human_description:
|
||
|
|
en_US: "PDF file to process"
|
||
|
|
zh_Hans: "要处理的 PDF 文件"
|
||
|
|
pt_BR: "Arquivo PDF para processar"
|
||
|
|
ja_JP: "処理するPDFファイル"
|
||
|
|
llm_description: "PDF file to process, output contains start/end/pages"
|
||
|
|
form: llm
|
||
|
|
fileTypes:
|
||
|
|
- "pdf"
|
||
|
|
extra:
|
||
|
|
python:
|
||
|
|
source: tools/pdf.py
|