rohan-mehta / langfuse-python

🪢 Langfuse Python SDK - Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability. Works with any LLM or framework

Home Page:https://langfuse.com/docs/sdk/python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

🪢 Langfuse Python SDK - Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability. Works with any LLM or framework

https://langfuse.com/docs/sdk/python

License:MIT License


Languages

Language:Python 100.0%