Skip to content

Subset: Teleprompt

Optimizers (a.k.a. teleprompters) that compile DSPy programs.

URI: Teleprompt

Identifier and Mapping Information

Schema Source

Classes in subset

Class Description
AvatarOptimizer Optimizer specialized for Avatar agents (``dspy
BetterTogether Compose prompt + weight optimization (``dspy
BootstrapFewShot Bootstraps demos by running the teacher program (``dspy
BootstrapFewShotWithOptuna BootstrapFewShot driven by an Optuna hyperparameter search (``dspy
BootstrapFewShotWithRandomSearch BootstrapFewShot + random search over program variants (``dspy
BootstrapFinetune Bootstrap demos then fine-tune the underlying LM (``dspy
COPRO Coordinate-prompt optimizer (``dspy
Ensemble Ensembles multiple compiled programs (``dspy
GEPA Genetic-evolutionary Prompt Adaptation optimizer (``dspy
InferRules Optimizer that infers natural-language rules from training data (``dspy
KNNFewShot KNN-selected few-shot optimizer (``dspy
LabeledFewShot Trivial optimizer that injects labelled few-shot demos (``dspy
MIPROv2 Multi-prompt instruction-program optimizer v2 (``dspy
SIMBA Stochastic Introspective Mini-Batch Ascent optimizer (``dspy
Teleprompter Base class for DSPy optimizers (``dspy