llama-index-callbacks-agentops


Namellama-index-callbacks-agentops JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
Summaryllama-index instrumentation agentops integration
upload_time2024-08-24 00:27:42
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 Callback Integration: Agentops

```shell
pip install llama-index-callbacks-agentops
```

To integrate AgentOps into your agent workflow,
simply import and initialize an `AgentOpsHandler`,
as demonstrated below. Note that all keyword arguments
anticipated by AgentOps' `AOClient` can be provided
to this client using the same keyword arguments in
`init()`.

You can initialize globally using

```python
from llama_index.core import set_global_handler

set_global_handler("agentops", api_key="...")
```

or:

```python
from llama_index.callbacks.agentops import AgentOpsHandler

AgentOpsHandler.init(api_key="...")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-callbacks-agentops",
    "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/84/de/929c26c698d7e57d791937ec8fa7e2a457f8953f425f742762c8e18299d3/llama_index_callbacks_agentops-0.2.1.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Callback Integration: Agentops\n\n```shell\npip install llama-index-callbacks-agentops\n```\n\nTo integrate AgentOps into your agent workflow,\nsimply import and initialize an `AgentOpsHandler`,\nas demonstrated below. Note that all keyword arguments\nanticipated by AgentOps' `AOClient` can be provided\nto this client using the same keyword arguments in\n`init()`.\n\nYou can initialize globally using\n\n```python\nfrom llama_index.core import set_global_handler\n\nset_global_handler(\"agentops\", api_key=\"...\")\n```\n\nor:\n\n```python\nfrom llama_index.callbacks.agentops import AgentOpsHandler\n\nAgentOpsHandler.init(api_key=\"...\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index instrumentation agentops integration",
    "version": "0.2.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5615d558c9e9548330f6ed6f8d43e84e7dd56799bf6513af257681aff6145561",
                "md5": "4b58259ed00dea41534ed2b97265fb5f",
                "sha256": "6177b1da0fdf7217b7e9de22c32892d60a9d55be9d4f6ea9843c272470630661"
            },
            "downloads": -1,
            "filename": "llama_index_callbacks_agentops-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b58259ed00dea41534ed2b97265fb5f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 4451,
            "upload_time": "2024-08-24T00:27:41",
            "upload_time_iso_8601": "2024-08-24T00:27:41.453357Z",
            "url": "https://files.pythonhosted.org/packages/56/15/d558c9e9548330f6ed6f8d43e84e7dd56799bf6513af257681aff6145561/llama_index_callbacks_agentops-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84de929c26c698d7e57d791937ec8fa7e2a457f8953f425f742762c8e18299d3",
                "md5": "5454341b97ad5c4e65b8e5c754409a74",
                "sha256": "29a7f78f12094885fee6b65939c7ed0c3e97463a7a6532cd0ff0ebc8cf0d2853"
            },
            "downloads": -1,
            "filename": "llama_index_callbacks_agentops-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "5454341b97ad5c4e65b8e5c754409a74",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 4123,
            "upload_time": "2024-08-24T00:27:42",
            "upload_time_iso_8601": "2024-08-24T00:27:42.389462Z",
            "url": "https://files.pythonhosted.org/packages/84/de/929c26c698d7e57d791937ec8fa7e2a457f8953f425f742762c8e18299d3/llama_index_callbacks_agentops-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-24 00:27:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-callbacks-agentops"
}
        
Elapsed time: 0.32452s