AlbertZJ/dsh-markitdown ↗★ 0

dsh-markitdown

Microsoft MarkItDown integration for DeepSeek Harness: convert PDF, Office, HTML, images, audio and more to Markdown through model-facing tools, plus a bundled conversion skill. 适合需要将 PDF、Office、图片等文件转换为 Markdown 的用户,需本地 Python 环境。

パッケージ
dsh-markitdown
互換性
未検証
Harness ピア範囲
>=0.2.1-rc.2 <0.3.0
Cordis ピア範囲
^4.0.0
バージョン
0.4.3
ライセンス
MIT
最終更新
2026/10/26

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlbertZJ/dsh-markitdown

ドキュメント

README 全文を読む ↗

Configuration

All fields are optional; the defaults work when python on PATH has the package.

- name: 'dsh-markitdown'
  config:
    # Python interpreter running `-m markitdown`. On Windows where only the
    # launcher exists, use `py` or an absolute path, e.g.
    # C:/Users/you/AppData/Local/Programs/Python/Python312/python.exe
    command: python
    timeoutMs: 60000        # per-conversion deadline
    maxInputBytes: 52428800 # 50 MiB source limit
    maxOutputBytes: 8388608 # 8 MiB captured-output cap (process is killed past it)
    # Optional: keep all reads and writes inside one workspace. Paths are
    # resolved with symlinks followed and must stay under this root.
    # allowedRoot: D:/work/documents
    # Optional: LLM-assisted conversion (LLM-described embedded images).
    # Requires `pip install openai`. Configure providers and keys on the
    # Settings → MarkItDown page; the fields below are the profile storage
    # it writes (active provider + one profile per provider).
    # llmProvider: deepseek
    # llmProviders:
    #   openai:   { baseUrl: https://api.openai.com/v1, model: gpt-4o, apiKeyEnv: OPENAI_API_KEY }
    #   deepseek: { baseUrl: https://api.deepseek.com/v1, model: deepseek-chat, apiKeyEnv: DEEPSEEK_API_KEY }
    #   custom:   { baseUrl: https://api.example.com/v1, model: my-model, apiKeyEnv: MARKITDOWN_API_KEY }
    # Legacy single-provider fields, used only when llmProvider is unset:
    # llmModel: gpt-4o
    # llmBaseUrl: https://api.deepseek.com/v1
    # llmApiKeyEnv: OPENAI_API_KEY
    # Allow URL sources in LLM mode (default off: internal content must not
    # leave the host through the LLM API).
    # llmAllowUrls: false
    # Permit third-party MarkItDown converter plugins (CLI -p); default off.
    # allowPlugins: false
    # Allow URL sources resolving to loopback/private/link-local addresses
    # (default off; SSRF guard for URL conversion).
    # allowPrivateUrls: false