alexpadholol/dsh-plugin-fusion0

dsh-plugin-fusion

DeepSeek Harness 的融合模式生成工具:使用不同温度对模型采样 N 次,然后让模型自行挑选最合适的答案。

AI 分析

核心用途是通过多次采样与自我筛选提升回答质量。适合对生成结果准确性、创意性要求较高,且不介意消耗更多 Token 的复杂推理或写作任务。

包名
dsh-plugin-fusion
版本
0.1.0
许可证
MIT
最近更新
2026年8月23日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alexpadholol/dsh-plugin-fusion

Usage

Ask your agent to use fusion_generate, or call it directly with:

ParameterTypeDescription
promptstring (required)The request to send to the model.
systemstringOptional system prompt for every call.
countnumberNumber of independent calls (default 5, clamped 1–10).
providerstringProvider route override; defaults to the current default model.
modelstringModel id override; defaults to the current default model.

Example result

{
  "provider": "deepseek-official",
  "model": "deepseek-v4-flash",
  "count": 5,
  "answers": ["...", "...", "...", "...", "..."],
  "chosenIndex": 2,
  "chosenAnswer": "...",
  "reason": "表述最完整准确,兼顾输入特征、融合过程与生成目标,且保持了简洁性。"
}