← Back to changelog
April 24, 2024 | Launch Week 1 🚀

Decorator-based integration for Python

Picture Marc KlingenMarc Klingen

The decorator now supports all Langfuse features and is the recommended way to use Langfuse in Python.

Decorator Integration

On Day 3 of Launch Week 1, we're happy to share that the Decorator-based integration for Python now supports all Langfuse features and is the recommended way to use Langfuse in Python.

The decorator makes integrating with Langfuse so much easier. Head over to the Python Decorator docs to learn more. All inputs, outputs, timings are captured automatically, and it works with all other Langfuse integrations (LangChain, LlamaIndex, OpenAI SDK, ...).

To celebrate this milestone, we wrote a blog post on the technical details and created the example notebook shown in the video as it demonstrates what's really cool about the decorator. Let us know what you think in the GitHub discussion (opens in a new tab), and stay tuned for more updates during Langfuse Launch Week 1 🚀

Thanks again to @lshalon (opens in a new tab) and @AshisGhosh (opens in a new tab) for your contributions to this!

Learn more

Was this page useful?

Questions? We're here to help

Subscribe to updates