llama-index-callbacks-langfuse


Namellama-index-callbacks-langfuse JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index callbacks langfuse integration
upload_time2024-08-22 03:49:40
maintainerNone
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Callbacks Integration: Langfuse

[Langfuse](https://langfuse.com/docs) 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

```python
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](https://static.langfuse.com/llamaindex-langfuse-docs.gif)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-callbacks-langfuse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/fd/89/bccdf7d95db7d7a1f6a2ec9cbb3ed59a2e4b28a38dbc06df65630ca5e815/llama_index_callbacks_langfuse-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Callbacks Integration: Langfuse\n\n[Langfuse](https://langfuse.com/docs) 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.\n\n#### Usage Pattern\n\n```python\nfrom llama_index.core import set_global_handler\n\n# Make sure you've installed the 'llama-index-callbacks-langfuse' integration package.\n\n# NOTE: Set your environment variables 'LANGFUSE_SECRET_KEY', 'LANGFUSE_PUBLIC_KEY' and 'LANGFUSE_HOST'\n# as shown in your langfuse.com project settings.\n\nset_global_handler(\"langfuse\")\n```\n\n![langfuse-tracing](https://static.langfuse.com/llamaindex-langfuse-docs.gif)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index callbacks langfuse integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "528774093a6cde405f800ce2ff6a4a9fba306f53f8491d6157c833e7fad4c569",
                "md5": "e85b10341c73e92a3c142c1ec485ebd9",
                "sha256": "f7dc8304a3837316e833e5ef4fba9e204d050e312ce5827133baf7b262ba7c7a"
            },
            "downloads": -1,
            "filename": "llama_index_callbacks_langfuse-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e85b10341c73e92a3c142c1ec485ebd9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2269,
            "upload_time": "2024-08-22T03:49:39",
            "upload_time_iso_8601": "2024-08-22T03:49:39.119870Z",
            "url": "https://files.pythonhosted.org/packages/52/87/74093a6cde405f800ce2ff6a4a9fba306f53f8491d6157c833e7fad4c569/llama_index_callbacks_langfuse-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fd89bccdf7d95db7d7a1f6a2ec9cbb3ed59a2e4b28a38dbc06df65630ca5e815",
                "md5": "51e1db49aad778016baa4e54aea651f5",
                "sha256": "3d01de040fa9843ce7da0f75aad392a7ef33e72526dc921aba19206664bc7958"
            },
            "downloads": -1,
            "filename": "llama_index_callbacks_langfuse-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "51e1db49aad778016baa4e54aea651f5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2042,
            "upload_time": "2024-08-22T03:49:40",
            "upload_time_iso_8601": "2024-08-22T03:49:40.621627Z",
            "url": "https://files.pythonhosted.org/packages/fd/89/bccdf7d95db7d7a1f6a2ec9cbb3ed59a2e4b28a38dbc06df65630ca5e815/llama_index_callbacks_langfuse-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 03:49:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-callbacks-langfuse"
}
        
Elapsed time: 0.43976s