dspy-bootstrap-fewshot

Community

Auto-create best few-shot demos with teacher models

AuthorOmidZamani
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automatically generates and selects high-quality few-shot demonstrations using a teacher model to improve DSPy prompts.

Core Features & Use Cases

  • Auto-generation of bootstrapped and labeled demos
  • Supports teacher settings for generation quality
  • Easy integration into a DSPy workflow

Quick Start

  1. Configure LMs and define a simple QA module
  2. Create a BootstrapFewShot optimizer and compile with trainset
  3. Save the optimized program for production

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dspy-bootstrap-fewshot
Download link: https://github.com/OmidZamani/dspy-skills/archive/main.zip#dspy-bootstrap-fewshot

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository