Skip to content

DSPy v2.4.12

Compare
Choose a tag to compare
@okhat okhat released this 08 Jul 14:55
· 1022 commits to main since this release
  • Supports treating dspy.Predict and dspy.ChainOfThought directly as Modules, e.g. can compile them without creating a wrapping dspy.Module object.

  • Improves the experimental=True Chat LM support from DSPy v2.4.11, which is quoted below for reference:

Initial support for new adapters, with far more smooth support for Chat LMs. The default behavior is unchanged from before. However, dspy.configure(experimental=True) is likely to lead to much more predictable and accurate zero-shot generations with Chat LMs. Tested against several variants of GPT-3.5, GPT-4, Llama3, Mixtral, and DBRX.