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.5.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.5.0.tar.gz.

File metadata

  • Download URL: llama_index_callbacks_agentops-0.5.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_callbacks_agentops-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e0c0469c183e0c2e645be24677d4a63c5010a95246011592f15ece43cd44fb98
MD5 12e3a6d830cf3e38321bf872b4f4ad5c
BLAKE2b-256 fcba097ceaef831b1758893e4dd3209aa3c3d4b395daa7936cee30dd161469f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_callbacks_agentops-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_callbacks_agentops-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 868d03abfaf50170b0bafc07ab8cb23f416db9f48c864462741e7f682a47a974
MD5 9504a13493af40324ff23a6d73009efe
BLAKE2b-256 f7606cf9ba1deef60be650dbe88806be9d0e90989beb9dc8add1c10040bf4fb4

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