Skip to content

Slot: teacher_settings

URI: dspy:teacher_settings

Applicable Classes

Name Description Modifies Slot
BootstrapFewShot Bootstraps demos by running the teacher program (``dspy no
MIPROv2 Multi-prompt instruction-program optimizer v2 (``dspy no
BootstrapFinetune Bootstrap demos then fine-tune the underlying LM (``dspy no
BootstrapFewShotWithRandomSearch BootstrapFewShot + random search over program variants (``dspy no
BootstrapFewShotWithOptuna BootstrapFewShot driven by an Optuna hyperparameter search (``dspy no
KNNFewShot KNN-selected few-shot optimizer (``dspy no
InferRules Optimizer that infers natural-language rules from training data (``dspy no

Properties

Type and Range

Property Value
Range Any
Domain Of BootstrapFewShot, MIPROv2, BootstrapFinetune

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:teacher_settings
native dspy:teacher_settings

LinkML Source

name: teacher_settings
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- BootstrapFewShot
- MIPROv2
- BootstrapFinetune
range: Any