Extract text from PDF files for LLM processing
Extract text from PDF files for LLM processing
Extract text from PDF files for LLM processing. Uses pdftotext from the poppler-utils package to convert PDF documents into plain text.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: pdf-extract
description: "Extract text from PDF files for LLM processing"
metadata:
{
"openclaw":
{
"emoji": "📄",
"requires": { "bins": ["pdftotext"] },
"install":
[
{
"id": "dnf",
"kind": "dnf",
"package": "poppler-utils",
"bins": ["pdftotext"],
"label": "Install via dnf",
},
],
},
}
---
# PDF Extract
Extract text from PDF files for LLM processing. Uses `pdftotext` from the poppler-utils package to convert PDF documents into plain text.
## Commands
```bash
# Extract all text from a PDF
pdf-extract "document.pdf"
# Extract text from specific pages
pdf-extract "document.pdf" --pages 1-5
```
## Install
```bash
sudo dnf install poppler-utils
```
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。