首页/ AI 技能 / @skilllib/skill-2014279369236099073
Skill站外收录 @skilllib/skill-2014279369236099073

pdf-processing

提供高精度 PDF 文档解析能力,支持智能分页、高分辨率 OCR 识别、复杂表格自适应提取及 HTML 格式化输出,可生成结构清晰的 Markdown 文本,适用于各类非结构化 PDF 的深度内容理解与后续处理。

0.0 (0) 213 次安装 原作者 编程导航
收录于 2026-01-22
数据与分析 AI 技能

Skills.MD

# PDF Processing ## Quick start Extract text: ```python from llama_cloud_services import LlamaParse parser = LlamaParse( parse_mode="parse_page_with_agent", model="openai-gpt-4-1-mini", high_res_ocr=True, adaptive_long_table=True, outlined_table_extraction=True, output_tables_as_HTML=True, result_type="markdown", project_id=project_id, organization_id=organization_id, ) result = parser.parse("./my_file.pdf") documents = result.get_markdown_documents(split_by_page=True) full_text = "" for document in documents: full_text += document.text + "\n\n---\n\n" ``` For more detailed code implementations, see [REFERENCE.md](REFERENCE.md). ## Requirements The `llama_cloud_services` package must be installed in your environment: ```bash pip install llama_cloud_services ``` And the `LLAMA_CLOUD_API_KEY` must be available as an environment variable: ```bash export LLAMA_CLOUD_API_KEY="..." ```

评论 0

还没有评论,来抢沙发。