Skip to main content
Generated from rustdoc JSON at dspy-rs v0.7.3 (commit b5da857). Do not edit by hand; regenerate with python3 docs/scripts/gen_api.py (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
Automatic prompt optimization.

Re-exports

Modules

Traits

optimizer::bootstrap

BootstrapFewShot: the minimal end-to-end exercise of the optimizer contract (vision §5.

Structs

optimizer::copro

Structs

optimizer::engine

The shared evaluation engine (vision §5.4): every optimizer is a thin strategy over this core.

Structs

Enums

Functions

optimizer::gepa

Re-exports

Structs

optimizer::mipro

Structs

optimizer::pareto

Structs

optimizer::program_engine

The IR-native evaluation path (RFC 0002 IR-6): candidate Overlays evaluated over one shared Arc<Program> through the Interpreter with candidate-level parallelism.

Structs

Enums

Traits

optimizer::simba

SIMBA: Stochastic Introspective Mini-Batch Ascent (vision §4.3) — the cheap agentic default.

Structs

Enums