Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

docling

bởi er3mit4

Web & Frontend Development
868Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Extract and parse content from web pages, PDFs, documents (docx, pptx), and images using the docling CLI with GPU.

Mô tả

Kỹ năng này làm gì

Docling is a CLI tool that extracts and parses content from web pages, PDFs, and office documents into clean, structured text. It supports OCR on scanned documents and images using GPU acceleration via CUDA.

Unlike basic HTTP fetchers, docling handles PDFs, scanned images, and complex document formats that return raw binary or malformed HTML.

Khi nào nên dùng

  • Extracting readable text from a research paper PDF
  • Converting a web article to markdown for offline processing
  • Running OCR on a scanned invoice or image
  • Parsing a PPTX slide deck into plain text
  • Pulling structured content from a DOCX report

Quy trình ví dụ

ĐẦU VÀO

User asks: extract the content from this PDF: /tmp/report.pdf

AGENT
  1. 1

    Run docling /tmp/report.pdf --ocr --device auto --output /tmp/docling_out

  2. 2

    Wait for docling to process the document with OCR

  3. 3

    Read the output markdown file from /tmp/docling_out

  4. 4

    Return the parsed text content to the user

  5. 5

    Clean up /tmp/docling_out

ĐẦU RA

Clean, structured markdown text extracted from the PDF

Yêu cầu

  • docling CLI installed (e.g. via pipx install docling)
  • NVIDIA GPU with CUDA drivers (optional, for GPU-accelerated OCR)

Cài đặt

clawhub install er3mit4/docling

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết