D

DSPy

D
DSPy AI v3.3.0b1

3.3.0b1

DSPy 3.3.0b1 Release Notes DSPy 3.3.0b1 is a beta release including a new ReActV2 module, a new BaseLM System, updating to GEPA 0.1.1, and fewer dependencies framework wide. Most existing DSPy programs should keep working without changes. Review the breaking changes if you depend on NumPy from the base dspy install, inspect GEPA result internals, or catch provider-specific LM exceptions directly.…

D
DSPy AI v3.2.1

3.2.1

DSPy 3.2.1 Changelog Removed the upper bound on litellm. (#9687) Usecase page has been updated! https://dspy.ai/community/use-cases/. To add your use-case, open a PR! Bug fixes Fixed async streaming LM calls so custom headers are forwarded to LiteLLM streaming completions. (#9669) Fixed dspy.Embedder so per-call caching=False is honored for both sync and async embedding calls. (#9708) Documentatio…

D
DSPy AI v3.2.0

3.2.0

Highlights BetterTogether Allows Chaining Optimizers — @dilarasoylu BetterTogether now accepts arbitrary optimizers as keyword arguments and chains them via strategy strings. For example, BetterTogether(metric=m, p=GEPA(...), w=BootstrapFinetune(...)) with strategy="p -> w -> p" will prompt-optimize, fine-tune, then prompt-optimize again -- evaluating each step on a valset and returning the best p…

D
DSPy AI v3.1.3

3.1.3

What's Changed RLMs fix(interpreter): Fix enable_read_paths with multiple files by @missing-piece in #9256 fix: handle dict response in RLM for reasoning models by @darinkishore in #9219 feat(CodeInterpreter): Convert messaging format to JSONRPC by @isaacbmiller in #9226 feat(RLMs): Fix code fence parsing by @isaacbmiller in #9231 fix(RLM): large variable injection by @isaacbmiller in #9233 fix(RL…

D
DSPy AI v3.1.2

3.1.2

What's Changed Maintenance ci: install Deno in release workflow by @okhat in #9217 Fix download bug in RAG tutorial by @togimoto in #9156 Update DSpy settings save / load methods by @WeichenXu123 in #9215 Expose timeout and straggler_limit params in Parallel by @halfprice06 in #9199 Fix JSON parsing: Removing initial regex extraction. by @blightzero in #9182 New Contributors @halfprice06 made thei…

D
DSPy AI v3.1.1

3.1.1

What's Changed RLMs feat(rlm): Add RLM Module and improve PythonInterpreter by @isaacbmiller in #9193 Use language in system instructions for dspy.Code fields by @mariusarvinte in #9106 Update dspy.RLM to improve reliability and avoid pydantic warnings by @okhat in #9210 fix(RLM): Change FinalAnswerResult to FinalOutput and remove RLM call by @isaacbmiller in #9212 GEPA Fix GEPAFeedbackMetric Prot…

D
DSPy AI v3.1.0

3.1.0

What's Changed This is a 3.1.0 official release. We are making the beta release 3.1.0beta1 official. Optimizers & Evaluation Add tutorial for dspy-trusted-monitor using GEPA by @ZachParent in #8938 Update gepa[dspy] dependency version to 0.0.18 by @LakshyAAAgrawal in #8969 fix(MIPROv2): zero shot not taking .compile parameters into account before determining if the program was zero shot by @isaacb…

D
DSPy AI v3.1.0b1

3.1.0b1

What's Changed This is a pre-release for 3.1.0. Optimizers & Evaluation Add tutorial for dspy-trusted-monitor using GEPA by @ZachParent in #8938 Update gepa[dspy] dependency version to 0.0.18 by @LakshyAAAgrawal in #8969 fix(MIPROv2): zero shot not taking .compile parameters into account before determining if the program was zero shot by @isaacbmiller in #8909 Update gepa[dspy] dependency version…

D
DSPy AI v3.0.4

3.0.4

3.0.4b2 has been running for a while without seeing issue, so we are making it an official 3.0.4 release. The release note is the combination of 3.0.4b1 and 3.0.4b2. What's Changed Optimizers Fix GEPA usage tracking with tuple outputs by @smec-cgint in #8739 Add custom instruction_proposer support to GEPA with multimodal (dspy.Image) handling by @andressrg in #8737 Enhance logging for valset usage…

D
DSPy AI v3.0.4b2

3.0.4b2

What's Changed Features & Enhancements Tooling / APIs Add ToolCall.execute for smoother tool execution (#8825, @TomeHirata) Networking / Headers Add DSPy User-Agent header (#8887, @TomeHirata) Update headers when specified (#8893, @TomeHirata) Arbor / RL Arbor GRPO Sync Update (#8939, @Ziems) Bug Fixes & Reliability Streaming / Buffers Fix chunk loss in long streaming with native response field (#…