Skip to content

Releases: stanfordnlp/dspy

2.5.41

29 Nov 03:15
511d369

Choose a tag to compare

What's Changed

  • Include the Signature __doc__ in the system message for the ReAct module. by @yanmxa in #1840
  • Add MATH reasoning dataset, metric, and tutorial by @okhat in #1875

New Contributors

Full Changelog: 2.5.40...2.5.41

2.5.40

26 Nov 17:21
74b19c8

Choose a tag to compare

What's Changed

  • Switch settings from contextvar to thread local storage (for Colab) by @okhat in #1860
  • Signature.replace compatibility with pydantic 2.10 by @mikeedjones in #1855
  • Allow react.Tool to wrap methods by @tkellogg in #1856
  • Adapters: Support JSON serialization of all types via pydantic (e.g. datetimes, enums, etc.) by @dbczumar in #1853

Full Changelog: 2.5.39...2.5.40

2.5.39

24 Nov 21:43

Choose a tag to compare

2.5.38

24 Nov 18:03

Choose a tag to compare

2.5.37

24 Nov 17:01

Choose a tag to compare

2.5.36

24 Nov 16:33
5c2ee6a

Choose a tag to compare

What's Changed

  • Convert dspy.settings to a ContextVar
  • Improve ParallelExecutor (isolate even if 1 thread)
  • Permit user-launched threads

by @okhat in #1852

Full Changelog: 2.5.35...2.5.36

2.5.35

24 Nov 06:26

Choose a tag to compare

What's Changed

  • Expand default cache limit to 30GB by @okhat in #1850
  • Update RAG tutorial to use the downsampled RAG-QA Arena upload by @okhat in #1851

New Contributors

Full Changelog: 2.5.34...2.5.35

2.5.34

22 Nov 20:14
1a577f8

Choose a tag to compare

What's Changed

  • Introduce dspy.retrievers.Embeddings index (thread-safe, memory-friendly faiss kNN)
  • Introduce CompleteAndGrounded metric
  • Introduce Unbatchify utils

by @okhat in #1843

Full Changelog: 2.5.33...2.5.34

2.5.33

22 Nov 02:21
44b3331

Choose a tag to compare

What's Changed

Full Changelog: 2.5.32...2.5.33

2.5.32

19 Nov 20:43

Choose a tag to compare

What's Changed

  • Revert back to more permissive dspy.settings multi-threaded access by @okhat in 9a70c7c42c
  • Fix additional evaluation display failures for non-dict objects by @dbczumar in #1820
  • Use dspy.Embedding for KNN by @CyrusOfEden in #1822
  • Replace print by logger.info in BetterTogether optimizer by @chenmoneygithub in #1827

Full Changelog: 2.5.31...2.5.32