Skip to content

Slot: metric_threshold

URI: dspy:metric_threshold

Applicable Classes

Name Description Modifies Slot
BestOfN Sample N candidates and select the highest-rewarded (``dspy no
Refine Iterative refinement loop (``dspy no
BootstrapFewShot Bootstraps demos by running the teacher program (``dspy no
COPRO Coordinate-prompt optimizer (``dspy no
MIPROv2 Multi-prompt instruction-program optimizer v2 (``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 Float
Domain Of BestOfN, Refine, BootstrapFewShot, COPRO, MIPROv2

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: metric_threshold
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- BestOfN
- Refine
- BootstrapFewShot
- COPRO
- MIPROv2
range: float