br1nosense/dsh-vision-solution ↗★ 0
@dsh-user/dsh-vision-solution
DSH 视觉增强方案,提供图片理解、OCR、文档解析技能及宿主补丁,使纯文本模型支持图片收发。
AI 分析
核心用途是为不支持多模态的纯文本模型赋予接收和解析图片的能力。适合需要处理图片、OCR 或文档解析,但受限于模型类型的用户。默认将视觉识别任务交由火山方舟 API 处理。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:br1nosense/dsh-vision-solution说明文档
阅读完整 README ↗配置:火山方舟(doubao-seed-2.0-lite)
本方案默认把视觉识别交给火山方舟。按以下步骤配置 custom-1 通道:
# 配置 custom-1 通道(BaseUrl 末尾会自动补 /chat/completions)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\setup.ps1 -SetCustom `
-Slot 1 `
-BaseUrl "https://ark.cn-beijing.volces.com/api/coding/v3" `
-Key "ark-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" `
-Model "doubao-seed-2.0-lite"
写入的用户级环境变量:
| 变量 | 值 |
|---|---|
VISION_CUSTOM_1_BASE_URL | https://ark.cn-beijing.volces.com/api/coding/v3 |
VISION_CUSTOM_1_API_KEY | 你的火山 ark key |
VISION_CUSTOM_1_MODEL | doubao-seed-2.0-lite |
检查状态:
powershell.exe -NoProfile -ExecutionPolicy Bypass -File scripts\setup.ps1 -Status
## 使用
### 在 DSH 对话中发图
- 直接**拖入图片** / **粘贴截图** / **发送图片 URL** 均可。
- 纯文本模型会收到图片的本地路径占位,自动调用识图技能分析。
### 命令行(供技能内部使用)
```powershell
### 命令行(供技能内部使用)
```powershell