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
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
File details
Details for the file llama_index_callbacks_agentops-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_callbacks_agentops-0.3.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1579f274b8a4b65d26ac5ef2bbc761479524a8aa880a2ca79dec4b8402de9de2 |
|
MD5 | 5e2ac5ec08a029d0a15d4cae572549bc |
|
BLAKE2b-256 | a4944d3b27f8f26065d60e8752859c94cf021878194ee01fff2e8d4efc0102e9 |
File details
Details for the file llama_index_callbacks_agentops-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_callbacks_agentops-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a275ac19ef0e04d4461d68b85bc48244ccef347fb5c8e11ef42bb2a2a2b8124c |
|
MD5 | a271a395a02f182873e0e53ef233a901 |
|
BLAKE2b-256 | b2492d0ab89acfc4c448794412f6d2a815cb2b141d55bf8f1949263eafdfda68 |