← Back to changelog
September 20, 2024
DSPy Integration Example
Marc Klingen
Langfuse now provides an integration example for DSPy, offering observability for this powerful framework that optimizes language model prompts and weights.
We’re excited to announce a new integration example for DSPy, a framework that systematically optimizes language model prompts and weights. This integration allows Langfuse users to leverage DSPy’s powerful capabilities while benefiting from Langfuse’s observability features.
Key highlights of the DSPy integration example:
- Automated tracing for OpenAI models within DSPy
- Custom tracker implementation for non-OpenAI models (e.g., Mistral)
- RAG (Retrieval-Augmented Generation) example showcasing DSPy’s optimization capabilities
Thanks to @xucailiang for the contribution to DSPy!