Tune.Optimizers.SignatureOptimizer (Tune v0.5.0)

Copy Markdown View Source

Searches the instruction of one explicitly named predictor.

This follows Imp's single-predictor target: it is COPRO's search restricted to :predictor, and only that predictor's instruction can change. In DSPy, SignatureOptimizer is a deprecated alias of COPRO; that difference is deliberate.

Options: :predictor (required name), :breadth (default 4), :depth (default 2), :evidence_examples (default 3).