Change8

2.6.6

📦 dspyView on GitHub →
3 features🐛 1 fixes🔧 3 symbols

Summary

Version 2.6.6 adds Refine and BestOfN modules, fixes thread safety for ChainOfThoughtWithHint, and moves packaging to pyproject.toml.

Migration Steps

  1. Remove reliance on setup.py; ensure your build/install process uses pyproject.toml.
  2. If you had custom setup.py scripts, migrate them to pyproject.toml configuration.

✨ New Features

  • Introduce dspy.Refine class.
  • Introduce dspy.BestOfN class.
  • Improve thread safety for dspy.ChainOfThoughtWithHint.

🐛 Bug Fixes

  • Fixed thread safety issues in dspy.ChainOfThoughtWithHint.

🔧 Affected Symbols

dspy.Refinedspy.BestOfNdspy.ChainOfThoughtWithHint