doebkblcya/dsh-vision-bridge

doebkblcya★ 0JavaScript最后同步: 2026-08-17

在 GitHub 打开

Dynamic vision bridge plugin for the DSH Web GUI: pasted images are recognized on demand via Bailian vision models (qwen3-vl-flash / qwen-vl-ocr)

README 摘要

dsh-vision-bridge — DSH Web GUI dynamic vision bridge English 中文 A cordis plugin for the DSH (DeepSeek Harness) Web GUI that enables pasted images: the UI accepts image attachments, and the main model (DeepSeek) decides on demand which vision model to call — qwen3-vl-flash for visual Q&A and qwen-vl-ocr for plain text extraction — via Alibaba Bailian's OpenAI-compatible endpoint. Features - Pasted images in the GUI — registers a deepseek-vision wrapping route declaring inputModalities: ['text', 'image'] , so the chat box accepts image paste. - Dynamic vision (zero pre-translation) — pasted images are not pre-transcribed; the image block is replaced with a hint (sha256 attachment id) and the main model writes the vision prompt per question/context before calling the tool. No extra calls, no upfront guessing. - Two vision tools : - describe image(image, prompt) — visual Q&A ( qwen3-vl-flash ), prompt written by the main model on each call. - extract text(image) — OCR ( qwen-vl-ocr ), extracts all text in reading order. - Three image input forms — http(s) URL / local file path / pasted attachment id ( sha256:… ). - Robustness — MIME sniffing (PNG/JPEG/GIF/WebP), 20 MB cap, explicit 40…

在 GitHub 查看完整 README →
内容/媒体dsh-pluginocrvision

分类