Skip to main content
Generated from rustdoc JSON at dspy-rs v0.7.3 (commit f7d67a6). 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

Structs

Enums

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

optimizer::gepa

Structs

optimizer::mipro

Structs

optimizer::simba

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

Structs

Enums

optimizer::structural

Structural: LM-guided hill-climbing over the graph-edit calculus (RFC 0004 §6) — the sixth strategy over the shared Engine.

Structs

optimizer::target

What an optimizer optimizes: OptimizeTarget, the lane-erased pair of (thing under optimization, evaluation harness).

Structs

Traits