langfuse

GitHub Banner

Langfuse Python SDK

MIT License CI test status PyPI Version GitHub Repo stars Discord YC W23

Installation

Important

The SDK was rewritten in v2 and released on December 17, 2023. Refer to the v2 migration guide for instructions on updating your code.

pip install langfuse

Docs

Interfaces

Interfaces:

  • @observe() decorator (docs)
  • Low-level tracing SDK (docs)
  • Wrapper of Langfuse public API

Integrations

1""".. include:: ../README.md"""
2
3from .client import Langfuse  # noqa
4from .version import __version__  # noqa