Skip to content

Slot: num_candidate_programs

URI: dspy:num_candidate_programs

Applicable Classes

Name Description Modifies Slot
BootstrapFewShotWithRandomSearch BootstrapFewShot + random search over program variants (``dspy no
BootstrapFewShotWithOptuna BootstrapFewShot driven by an Optuna hyperparameter search (``dspy no
SIMBA Stochastic Introspective Mini-Batch Ascent optimizer (``dspy no

Properties

Type and Range

Property Value
Range Integer
Domain Of BootstrapFewShotWithRandomSearch, BootstrapFewShotWithOptuna, SIMBA

Cardinality and Requirements

Property Value
### Value Constraints
Property Value
Minimum Value 1

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: num_candidate_programs
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- BootstrapFewShotWithRandomSearch
- BootstrapFewShotWithOptuna
- SIMBA
range: integer
minimum_value: 1