Skip to main content

llama-index callbacks langfuse integration

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_callbacks_langfuse-0.3.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_callbacks_langfuse-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.3.0.tar.gz
Algorithm Hash digest
SHA256 24c9ce0284c10c5d2cdb3ed2be9974aefc582906a8e5d9eb275c77d49e41b3b9
MD5 7e9e49d9a2cbc33dd6c242b944f401a1
BLAKE2b-256 ae87da554ef82b56f6c349b4057732ebdc71c8fe8c60f2cc594383c115545c4c

See more details on using hashes here.

File details

Details for the file llama_index_callbacks_langfuse-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b29b187f94d5918d330ee5c16660a744f522d4e56e893b9ff786bd5d7e72d2d
MD5 888f756dfcbec68d950220d26165593e
BLAKE2b-256 f19f37c4a22b67ec858f7d4a2fb869f6580692a149141fd68f2c3bf5dcb5c075

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page