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.4.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.4.1.tar.gz
Algorithm Hash digest
SHA256 2acaaa352f1b77356023aec95409897f78ec62b01d79f545293d741dfcfc89af
MD5 1a66f37678c4c578ce30cef50f86eadf
BLAKE2b-256 8d8565f5cb61ca982f89c61eb7e8ed60dc16f716064c7af856779f80017f38c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7da2b0685affe26b307449ac4d67561a547b9ce7ad7bafdf98e06a2c5b3b30b4
MD5 6d37632babf74b85cceb02f8a5552dd2
BLAKE2b-256 0e9e04375cbdd12ef43d0d7abda169b6fd7a790bec27928801d5805ef6a6ef0b

See more details on using hashes here.

Supported by

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