We've made some big updates to our DSPy Integration 🧠 to support their 2.5 release. Here’s what’s new:
🪙 Token Counts in Phoenix: DSPy’s integration with LiteLLM means we can now show token counts attached to your DSPy traces and spans. Tracking token usage and cost is now much easier.
🛠️ Support for the New dspy.LM Interface: DSPy is deprecating their old LLM interface system in favor of a new approach powered by LiteLLM under the hood. This release adds support for that new dspy.LM interface.
🏢 Adapter Support: DSPy 2.5 introduced a new component, Adapters, that acts as a layer between Signatures and LM. Our new integration provides visibility of this step in your traces.
Try it out in this example notebook 📔