AngelosZou/dsh-pdf-reader

AngelosZou★ 2Python最后同步: 2026-08-26

在 GitHub 打开

README 摘要

dsh-pdf-reader DeepSeek Harness plugin for content-aware PDF reading by vision models . The plugin reads a PDF the way its content demands: text-heavy pages are extracted as text, while figures, tables, formula-heavy or two-column pages are rendered as high-DPI region crops fed to the vision model — so a paper's vector figures and structured tables are never lost to the per-image token ceiling. Backed by PyMuPDF . When Python or a dependency is missing, the tools return a clear, actionable warning (with the exact install command) for the agent to resolve, instead of failing hard. Install Requires a Python interpreter with pymupdf . After installing Python, you can install the dsh-python-env plugin in DeepSeek Harness so the agent handles the dependency automatically — it will create a project venv and install pymupdf itself, with no manual steps: To set it up by hand instead: Tools Tool What it does pdf scan Per-page content profile — columns, figures (vector regions), raster images, tables, text characters, hasGraphics, formulaRisk, hasTextLayer. Use first to decide how each page should be read. pdf read page Read one page. mode=mixed is the one-shot: a low-res fullPage preview + …

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-pluginsagentvision

分类