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.1.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.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.4.1.tar.gz
Algorithm Hash digest
SHA256 43602d3dbc270ac1a71c57668d43d3e257b308885043f40c473bae9add48786e
MD5 2cc527f5a3fc0298c5e701e324190579
BLAKE2b-256 ef903b11c0ce7478bf7584557dc69231fd2ef9b98f58c026352e920e710e24af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_agentops-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4713da99aded953e651bc3184beae22664e38dbb2cc6250b508d4a3adde7972
MD5 f0f27c384bd8eec91d8c3bb21e81b032
BLAKE2b-256 b58f8026a4310813a1273dd7fa35c216250bdd9cb3213cb40d86c161eb531a6c

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