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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54bf8067d0e750133e2ede2abc2858c582527ce54882214d537d0ebfcb422bd0 |
|
MD5 | b27e4bdf2abb15f195cec80aa05688b0 |
|
BLAKE2b-256 | f77167283ec5e2202fe6a6008b30a2743b3587f71291c4856ddbc0248b815c49 |
Close
Hashes for llama_index_callbacks_agentops-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c95fd9afc5b14bf136a183f7d3140d9e8d0520d0fcdeb3614dea443be292f9cb |
|
MD5 | a3815493761fa799934f56b2ee7e6b70 |
|
BLAKE2b-256 | 5e30587a5685fd86df5362a5bce3438591007f48c126187b196e4261c75585e9 |