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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98b0d0ac8cc058bb62dca7a67719d373b40a3b1ec322b5d69eb6daf11b738bcc |
|
MD5 | 1f834bd8c8b048fb5d124f5711b6a5c9 |
|
BLAKE2b-256 | ddee8a086590c0808618fef069b4ab8f7426f663f0f8ab092c095daf6f3e5a1c |
Close
Hashes for llama_index_callbacks_agentops-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c23804b48589b4b179b55be1213f27af50b37fb7947ef7da2debd36096ea1b2 |
|
MD5 | 77f69638a46fd8788b4b67b655a5960a |
|
BLAKE2b-256 | ba2ec72f1916778831a91c491e0b2f4358d172ccc8d58b7ff56ed694d68b6eee |