跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
演示文稿

document-processing

Process unstructured documents (PDF, DOCX, PPTX, XLSX) into search-ready JSONL chunks using Docling. Runs locally — no AWS or cloud services needed. Use this skill when the user wants to prepare documents for indexing, chunk documents, evaluate chunk quality, or convert PDFs to searchable text. Activate even if the user says process documents, chunk my files, prepare for search, or Docling.

opensearch-project · 已有静态检查记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add opensearch-project/opensearch-agent-skills --skill document-processing

技能说明


name: document-processing description: > Process unstructured documents (PDF, DOCX, PPTX, XLSX) into search-ready JSONL chunks using Docling. Runs locally — no AWS or cloud services needed. Use this skill when the user wants to prepare documents for indexing, chunk documents, evaluate chunk quality, or convert PDFs to searchable text. Activate even if the user says process documents, chunk my files, prepare for search, or Docling. compatibility: Requires uv. metadata: author: opensearch-project version: "1.0"

Document Processing

Process unstructured documents into search-ready JSONL chunks using Docling (open-source, runs locally). No AWS credentials or cloud services needed.

Prerequisites

  • uv installed (for running Python scripts)

When to Use

  • User has unstructured documents (PDF, DOCX, PPTX, XLSX)
  • User wants to prepare documents for OpenSearch indexing
  • User wants to inspect or evaluate chunk quality

Output

JSONL files at .opensearch/chunks/<index>/<filename>.jsonl. Each line:

{"text": "...", "headings": ["Section Title"], "source_file": "doc.pdf", "chunk_id": 0, "page_number": 1}

The JSONL output can be ingested into any OpenSearch target:

  • Local cluster — bulk-index directly
  • AOS domain / AOSS collection — via managed-ingestion-service (OSIS pipeline)

Reference

See document_processing_guide.md for the full workflow: processing profiles, quality evaluation, and chunking adjustments.