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.4.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1bb7975effbeb7308bcec70b11fe6aa65d5f6e55e85c13a8f83d6f6c19620f43
MD5 d9aebfbff25dd569059647f8d41c888f
BLAKE2b-256 84694fda9cd7c94d6ce355b6346d358cfd598846900153bc0f875ba747ccd04e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcddf0ea243e14f14a892e1c20e38bd231dcd068dfefb539ee1bacabec2538bf
MD5 14cf550e2ad502c8bf49437d0e3318a5
BLAKE2b-256 2f5d31e705c8014fd6e200472dd5f925bf46ff3a9993c886c21c37211ef86b2b

See more details on using hashes here.

Supported by

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