textextractapi
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "textextractapi" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-685846a123a36bdc5655c88fb35b74b8e20d9e7a9c1fe1aa7a80a678c7bb381b. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/run-private-document-extraction-pipelines-with-text-extract-api before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
When an agent needs to convert PDFs, Office files, or images to Markdown or structured JSON, use the Text Extract API. The API supports local OCR, optional Ollama models, PII removal, and queued batch processing.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Python, FastAPI, Celery, Redis, Docker, Ollama, OCR backend
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 Text Extract API 运行私有文档提取管道"
slug: "run-private-document-extraction-pipelines-with-text-extract-api"
version: "1.0.0"
displayName: "使用 Text Extract API 运行私有文档提取管道"
summary: "当代理需要将PDF、Office文件或图像转换为Markdown或结构化JSON时,请使用Text Extract API,该API支持本地OCR、可选的Ollama模型、PII删除和排队批处理。"
license: "MIT"
description: "当代理需要将PDF、Office文件或图像转换为Markdown或结构化JSON时,请使用Text Extract API,该API支持本地OCR、可选的Ollama模型、PII删除和排队批处理。"
github_stars: 3111
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 3111使用 Text Extract API 运行私有文档提取管道
Use Text Extract API when an agent needs to turn PDFs, Office files, or images into Markdown or structured JSON with local OCR, optional Ollama models, PII removal, and queued batch processing.
Prerequisites
Python, FastAPI, Celery, Redis, Docker, Ollama, OCR backend
Installation
Use the upstream install or setup path that matches your environment:
- Download and install Docker
- git clone https://github.com/1991513ccie-png/skills
- pip install -e .
- brew update && brew install libmagic poppler pkg-config ghostscript ffmpeg automake autoconf
Requirements and caveats from upstream:
- No Cloud/external dependencies all you need: PyTorch based OCR (EasyOCR) + Ollama are shipped and configured via docker-compose no data is sent outside your dev/server environment,
- python client/cli.py ocr_upload --file examples/example-mri.pdf --prompt_file examples/example-mri-2-json-prompt.txt
- python client/cli.py ocr_upload --file examples/example-invoice.pdf --prompt_file examples/example-invoice-remove-pii.txt
Basic usage or getting-started notes:
-
Before running the example see getting started
-

-

-
Extracted from upstream docs: https://raw.githubusercontent.com/CatchTheTornado/text-extract-api/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供私有文档提取管道,支持 PDF/Office/图像转 Markdown/JSON
- 集成本地 OCR、Ollama 模型、PII 删除和批处理能力,解决用户核心文档处理痛点
Highlights
- 触发描述清晰明确,覆盖多种文件类型和输出格式,边界清晰
Highlights
- 文档结构完整,包含 Prerequisites、Installation、Basic usage 等清晰章节
- 提供具体命令示例和截图说明,frontmatter 信息完整
Areas to improve
-
异常处理机制说明不足 Reported severity: Minor
文档未明确说明执行过程中的异常处理机制和错误恢复方案
Recommendation: 建议补充常见错误场景的处理说明和重试机制
-
不可逆操作确认机制缺失 Reported severity: Minor
对于可能影响原始数据的操作,未说明是否有确认机制
Recommendation: 建议在涉及数据修改的操作前增加用户确认步骤说明
Highlights
- 工具来源明确,提供具体 GitHub 仓库地址
- 参数示例具体,涵盖主要依赖和环境要求
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34, 35
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
- www.docker.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python, FastAPI, Celery, Redis, Docker, Ollama, OCR backend
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.