New
3.1.1
What's Changed
RLMs
- feat(rlm): Add RLM Module and improve PythonInterpreter by @isaacbmiller in https://github.com/stanfordnlp/dspy/pull/9193
- Use
languagein system instructions fordspy.Codefields by @mariusarvinte in https://github.com/stanfordnlp/dspy/pull/9106 - Update dspy.RLM to improve reliability and avoid pydantic warnings by @okhat in https://github.com/stanfordnlp/dspy/pull/9210
- fix(RLM): Change FinalAnswerResult to FinalOutput and remove RLM call by @isaacbmiller in https://github.com/stanfordnlp/dspy/pull/9212
GEPA
- Fix GEPAFeedbackMetric Protocol missing 'self' parameter by @Copilot in https://github.com/stanfordnlp/dspy/pull/9111
- feat(gepa): add tool description optimization for multi-agent systems by @Ju-usc in https://github.com/stanfordnlp/dspy/pull/8928
- Update pyproject.toml to update gepa from 0.0.22 -> 0.0.24 by @LakshyAAAgrawal in https://github.com/stanfordnlp/dspy/pull/9161
- Patch
dspy.gepato handlelist[dict]output from adspy.LMby @mariusarvinte in https://github.com/stanfordnlp/dspy/pull/9169