Releases: stanfordnlp/dspy
2.6.2
What's Changed
- InferRules optimizer by @arnavsinghvi11 in #7261
- Allow for arbitrary examples containing DSPy.Images by @isaacbmiller in #1801
- feat: Add pytest option to skip reliability tests by default by @isaacbmiller in #7656
Full Changelog: 2.6.1...2.6.2
2.6.1
What's Changed
Optimizers
- Enable Optuna to Learn from Full Evaluations in Minibatch Mode by @klopsahlong in #2237
- Enforcing 3 Demos in MIPROv2 Meta Prompt by @klopsahlong in #1964
- Change score_data to list of dict by @Shangyint in #2043
- Fix "name 'selected_tip' is not defined error" by @yuruofeifei in #3919
Models and Modules
- feat(lm): add support for o3-mini and openai reasoning models by @kalanyuz in #7649
- Fix ReAct tool behavior when lacking type hints by @okhat in #7655
- Fix react bug in 2.6.0 that cause tools without type hint to fail by @kalanyuz in #7621
- Handle lists of models in parameters by @jjjjw in #6580
** Caching **
- feat: separate the in memory cache from litellm cache by @hung-phan in #7459
- feat: allow to disable dspy write to history when running in prod by @hung-phan in #7623
- Do not initialize the cache if DSP_CACHEBOOL is false by @jjjjw in #7606
- Nest default joblib cache dir into .dspy_cache by @amas0 in #7633
New Contributors
- @myz96 made their first contribution in #7482
- @yuruofeifei made their first contribution in #3919
- @jjjjw made their first contribution in #6580
- @hung-phan made their first contribution in #7459
- @kalanyuz made their first contribution in #7621
- @amas0 made their first contribution in #7633
Full Changelog: 2.6.0...2.6.1
2.6.0
A few of the changes relative to latest 2.5.*
-
Removals for deprecated
functional/
,dsp/
clients, and old caches by @okhat in #1936 -
Simplify built-in modules. Prepare for assertions v2. by @okhat in #1943, #1944
-
Refined semantics for Settings thread-safety by @okhat in #1947
-
Streaming by @CyrusNuevoDia in #1874
-
BootstrapFT improvements relative to 2.4 by @okhat in #1996, #2024
-
Python interpreter refactor to sandbox by @arnavsinghvi11 in #1956, #2010
-
Support retries via LiteLLM RetryPolicy by @dbczumar in #1866
-
Improve Literal format adherence in ChatAdapter, JSONAdapter by @dbczumar in #1955
-
Add arg parsing for dspy.ReAct by @chenmoneygithub in #2039
-
Redirect math dataset by @chenmoneygithub in #3563
-
Update multi_chain_comparison.py by @zbambergerNLP in #2025
Contributors
@okhat, @chenmoneygithub, @dbczumar, @arnavsinghvi11, @CyrusNuevoDia, @hmoazam, @itay1542, @zbambergerNLP, @GabeDottl, @bjsi, @Dyadd, and others
2.6.0rc9
What's Changed
-
Better error msg when failing to save state with json by @chenmoneygithub in #2012
-
Allow PythonInterpreter sandbox to import trusted libraries by @arnavsinghvi11 in #2010
-
Fix broken workflow by @arnavsinghvi11 in #2016
-
Update multi_chain_comparison.py by @zbambergerNLP in #2025
-
Improve literal format adherence in ChatAdapter, JSONAdapter by @dbczumar in #1955
-
Add arg parsing for dspy.ReAct by @chenmoneygithub in #2039
-
Redirect math dataset by @chenmoneygithub in #3563
-
Fix poetry lock by @chenmoneygithub in #6755
New Contributors
- @GabeDottl made their first contribution in #2015
- @zbambergerNLP made their first contribution in #2025
- @bjsi made their first contribution in #2018
Full Changelog: 2.6.0rc8...2.6.0rc9
2.6.0rc8
What's Changed
- Automate version upgrade and introduce
dspy.__version__
by @hmoazam in #1985 - python interpreter refactor to sandbox by @arnavsinghvi11 in #1956
- Allow returning empty results when nothing is retrieved from DatabricksRM by @chenmoneygithub in #1995
- Add AlfWorld dataset and tutorial. Improve BootstrapFT. by @okhat in #1996
Full Changelog: 2.6.0rc6...2.6.0rc8
2.6.0rc6
2.6.0rc4
What's Changed
- Streaming by @CyrusNuevoDia in #1874
- Loosen the version check between saving/loading by @chenmoneygithub in #1946
Full Changelog: 2.6.0rc3...2.6.0rc4
2.6.0rc3
What's Changed
- Simplify built-in modules. Prepare for assertions v2. by @okhat in #1943, #1944
- Refined semantics for Settings thread-safety by @okhat in #1947
- Replace relative imports by absolute imports by @chenmoneygithub & @okhat in #1945, #1949
- Support retries via LiteLLM RetryPolicy by @dbczumar in #1866
New Contributors
Full Changelog: 2.6.0rc2...2.6.0rc3