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")
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
Built Distribution
File details
Details for the file llama_index_callbacks_langfuse-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_callbacks_langfuse-0.3.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c9ce0284c10c5d2cdb3ed2be9974aefc582906a8e5d9eb275c77d49e41b3b9 |
|
MD5 | 7e9e49d9a2cbc33dd6c242b944f401a1 |
|
BLAKE2b-256 | ae87da554ef82b56f6c349b4057732ebdc71c8fe8c60f2cc594383c115545c4c |
File details
Details for the file llama_index_callbacks_langfuse-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_callbacks_langfuse-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b29b187f94d5918d330ee5c16660a744f522d4e56e893b9ff786bd5d7e72d2d |
|
MD5 | 888f756dfcbec68d950220d26165593e |
|
BLAKE2b-256 | f19f37c4a22b67ec858f7d4a2fb869f6580692a149141fd68f2c3bf5dcb5c075 |