dspy-bootstrap-fewshot
✓当用户要求“引导少量样本”、“生成演示”、“使用 BootstrapFewShot”、“使用有限数据进行优化”、“自动创建训练演示”、提到“少量样本的教师模型”、“10-50 个训练样本”,或者希望在无需大量计算的情况下自动生成 DSPy 程序的演示时,应使用此技能。
SKILL.md
Automatically generate and select optimal few-shot demonstrations for your DSPy program using a teacher model.
| program | dspy.Module | Your DSPy program to optimize | | trainset | list[dspy.Example] | Training examples | | metric | callable | Evaluation function | | metricthreshold | float | Numerical threshold for accepting demos (optional) | | maxbootstrappeddemos | int | Max teacher-generated demos (default: 4) |
| maxlabeleddemos | int | Max direct labeled demos (default: 16) | | maxrounds | int | Max bootstrapping attempts per example (default: 1) | | teachersettings | dict | Configuration for teacher model (optional) |
当用户要求“引导少量样本”、“生成演示”、“使用 BootstrapFewShot”、“使用有限数据进行优化”、“自动创建训练演示”、提到“少量样本的教师模型”、“10-50 个训练样本”,或者希望在无需大量计算的情况下自动生成 DSPy 程序的演示时,应使用此技能。 来源:omidzamani/dspy-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/omidzamani/dspy-skills --skill dspy-bootstrap-fewshot- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 dspy-bootstrap-fewshot?
当用户要求“引导少量样本”、“生成演示”、“使用 BootstrapFewShot”、“使用有限数据进行优化”、“自动创建训练演示”、提到“少量样本的教师模型”、“10-50 个训练样本”,或者希望在无需大量计算的情况下自动生成 DSPy 程序的演示时,应使用此技能。 来源:omidzamani/dspy-skills。
如何安装 dspy-bootstrap-fewshot?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/omidzamani/dspy-skills --skill dspy-bootstrap-fewshot 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/omidzamani/dspy-skills
详情
- 分类
- {}数据分析
- 来源
- skills.sh
- 收录时间
- 2026-02-01