llama-index instrumentation agentops integration
Project description
LlamaIndex Callback Integration: Agentops
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
from llama_index.core import set_global_handler
set_global_handler("agentops", api_key="...")
or:
from llama_index.callbacks.agentops import AgentOpsHandler
AgentOpsHandler.init(api_key="...")
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for llama_index_callbacks_agentops-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a7f78f12094885fee6b65939c7ed0c3e97463a7a6532cd0ff0ebc8cf0d2853 |
|
MD5 | 5454341b97ad5c4e65b8e5c754409a74 |
|
BLAKE2b-256 | 84de929c26c698d7e57d791937ec8fa7e2a457f8953f425f742762c8e18299d3 |
Close
Hashes for llama_index_callbacks_agentops-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6177b1da0fdf7217b7e9de22c32892d60a9d55be9d4f6ea9843c272470630661 |
|
MD5 | 4b58259ed00dea41534ed2b97265fb5f |
|
BLAKE2b-256 | 5615d558c9e9548330f6ed6f8d43e84e7dd56799bf6513af257681aff6145561 |