Skip to main content

LlamaIndex Callbacks Integration: Langfuse

Langfuse is an open source LLM engineering platform to help teams collaboratively debug, analyze and iterate on their LLM Applications. With the Langfuse integration, you can seamlessly track and monitor performance, traces, and metrics of your LlamaIndex application. Detailed traces of the LlamaIndex context augmentation and the LLM querying processes are captured and can be inspected directly in the Langfuse UI.

Usage Pattern

from llama_index.core import set_global_handler

# Make sure you've installed the 'llama-index-callbacks-langfuse' integration package.

# NOTE: Set your environment variables 'LANGFUSE_SECRET_KEY', 'LANGFUSE_PUBLIC_KEY' and 'LANGFUSE_HOST'
# as shown in your langfuse.com project settings.

set_global_handler("langfuse")

langfuse-tracing

Metadata

Release files for llama-index-callbacks-langfuse 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-callbacks-langfuse 0.6.0
File Size Uploaded
llama_index_callbacks_langfuse-0.6.0.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-callbacks-langfuse 0.6.0
File Interpreter ABI Platform
llama_index_callbacks_langfuse-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / llama_index_callbacks_langfuse-0.6.0.tar.gz

Download URL llama_index_callbacks_langfuse-0.6.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bab685470ee2d62c1d7f074032cb5819568b38a4b33c6114db5d7a6c594e75d8
BLAKE2b-256 checksum
How to use checksums
3a41e2f95eb2080a81f865f66412f1f5a33243b79fd51b42e573aa356c6536dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / llama_index_callbacks_langfuse-0.6.0-py3-none-any.whl

Download URL llama_index_callbacks_langfuse-0.6.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d842c0d6bd92b00478b5268cbdaa6eedef533ea98d463937e024add58d3e3b59
BLAKE2b-256 checksum
How to use checksums
9d3392cc835cb5faa7d25b6564000da618caf9843550421797c196e45fd23427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page