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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.1.6.tar.gz
Algorithm Hash digest
SHA256 486ccd2f4b54d0c9f47e2c15a67184d3c8187a2df4d91cbeab0edd27600e464d
MD5 8b8c838cf278d6e7338fded2a09ccc4f
BLAKE2b-256 343171e6b15ae89ef54f3c9752673490dc49b45d7f39dd11f70de714cfb894fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_langfuse-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3a779891034f11c8efbd6db261781f0c6844e51ed388cf37a2ba0d12d59bb91f
MD5 5cd0a73bbb978ed7e050556ffb508ef5
BLAKE2b-256 2f46f189fa2f6643c22fadd9e0adf22897cdb315f3e4b621e562726a7f3469fe

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