DSPy v2.4.12
-
Supports treating
dspy.Predict
anddspy.ChainOfThought
directly as Modules, e.g. can compile them without creating a wrappingdspy.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.