Skip to main content

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

llama_index_callbacks_agentops-0.3.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_callbacks_agentops-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1579f274b8a4b65d26ac5ef2bbc761479524a8aa880a2ca79dec4b8402de9de2
MD5 5e2ac5ec08a029d0a15d4cae572549bc
BLAKE2b-256 a4944d3b27f8f26065d60e8752859c94cf021878194ee01fff2e8d4efc0102e9

See more details on using hashes here.

File details

Details for the file llama_index_callbacks_agentops-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a275ac19ef0e04d4461d68b85bc48244ccef347fb5c8e11ef42bb2a2a2b8124c
MD5 a271a395a02f182873e0e53ef233a901
BLAKE2b-256 b2492d0ab89acfc4c448794412f6d2a815cb2b141d55bf8f1949263eafdfda68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page