Releases: stanfordnlp/dspy
2.6.10
What's Changed
- Add support for non-image mimes in image_url content by @glesperance in #7872
- Refactor ProgramOfThought and add unit tests by @TomeHirata in #7878
- Change the LM check to BaseLM by @chenmoneygithub in #7897
- Fix package name var in github actions by @TomeHirata in #7898
- Enhance type hints of adapters by @TomeHirata in #7896
Full Changelog: 2.6.9...2.6.10
2.6.9
What's Changed
-
Support multiturn history by @chenmoneygithub in #7851 #7874
-
Add evaluate callback by @TomeHirata in #7895
-
enh(mipro): Allow to pass
provide_tracebackin mipro by @Samoed in #7890 -
Fix save predict model with LM by @TomeHirata in #7861
-
Fix model name error in finetune by @TomeHirata in #7880
-
Fix pyproject.toml to include package data by @TomeHirata in #7869
-
Fixes and removes non-existent dependency on dsp.SentenceTransformersVectorizer from KNN and KNNFewShot by @cezarc1 in #7884
-
Add more testing before publishing to pypi by @hmoazam in #7889
New Contributors
- @TomeHirata made their first contribution in #7869
- @Ziems made their first contribution in #7875
- @kanjurer made their first contribution in #7881
- @cezarc1 made their first contribution in #7884
- @Samoed made their first contribution in #7890
Full Changelog: 2.6.8...2.6.9
2.6.8
2.6.7
What's Changed
- Fix RuntimeError: uvloop Incompatibility on Windows by @chakravarthik27 in #7842
- bundle files with dspy installation by @arnavsinghvi11 in #7855
New Contributors
- @chakravarthik27 made their first contribution in #7842
Full Changelog: 2.6.6...2.6.7
2.6.6
What's Changed
- Introduce
dspy.Refine,dspy.BestOfNand fix thread safety fordspy.ChainOfThoughtWithHintby @chenmoneygithub in #1959 - Remove setup.py and rely fully on pyproject.toml by @chenmoneygithub in #7829
New Contributors
- @ulgens made their first contribution in #7822
- @AkeemMcLennon made their first contribution in #7841
Full Changelog: 2.6.5...2.6.6
2.6.5
What's Changed
- Finetune fix by @dilarasoylu in #7629
- Signature rework by @chenmoneygithub in #2033
- Weaviate multitenancy support by @Timtech4u in #2199
New Contributors
- @Timtech4u made their first contribution in #2199
Full Changelog: 2.6.4...2.6.5
2.6.4
2.6.3
What's Changed
We are redoing the 2.6.3 because earlier we accidentally add a "v" prefix, i.e., v2.6.3, apologize for the inconvenience!
- Improve
dspy.Toolby @chenmoneygithub in #7658 - Support status streaming by @chenmoneygithub in #7630
- update: update litellm by @hung-phan in #7771
- Add context truncation logic for react by @chenmoneygithub in #7780
- Use context instead of settings for streamify by @chenmoneygithub in #7796
New Contributors
- @Jdogtherock made their first contribution in #7679
- @rcanand made their first contribution in #7795
Full Changelog: 2.6.2...2.6.3
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