alexpadholol/dsh-plugin-fusion ↗★ 0
dsh-plugin-fusion
DeepSeek Harness 的融合模式生成工具:使用不同温度对模型采样 N 次,然后让模型自行挑选最合适的答案。
AI 分析
核心用途是通过多次采样与自我筛选提升回答质量。适合对生成结果准确性、创意性要求较高,且不介意消耗更多 Token 的复杂推理或写作任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alexpadholol/dsh-plugin-fusion说明文档
阅读完整 README ↗Usage
Ask your agent to use fusion_generate, or call it directly with:
| Parameter | Type | Description |
|---|---|---|
prompt | string (required) | The request to send to the model. |
system | string | Optional system prompt for every call. |
count | number | Number of independent calls (default 5, clamped 1–10). |
provider | string | Provider route override; defaults to the current default model. |
model | string | Model id override; defaults to the current default model. |
Example result
{
"provider": "deepseek-official",
"model": "deepseek-v4-flash",
"count": 5,
"answers": ["...", "...", "...", "...", "..."],
"chosenIndex": 2,
"chosenAnswer": "...",
"reason": "表述最完整准确,兼顾输入特征、融合过程与生成目标,且保持了简洁性。"
}