Skip to main content

llama-index callbacks Opik Comet integration

Project description

LlamaIndex Callbacks Integration: Opik

pip install llama-index-callbacks-opik

This integration allows you to get one-click observability of your LlamaIndex RAG pipelines on Opik.

The simplest way to get started and try out Opik is to signup on our cloud instance. You can then get you API key from the quickstart page or the user menu and start logging !

You can initialize globally using

from llama_index.core import set_global_handler

# You should provide your OPIK API key and Workspace using the following environment variables:
# OPIK_API_KEY, OPIK_WORKSPACE
set_global_handler("opik")

or:

from llama_index.core import Settings
from llama_index.core.callbacks import CallbackManager
from opik.integrations.llama_index import LlamaIndexCallbackHandler

opik_callback_handler = LlamaIndexCallbackHandler()
Settings.callback_manager = CallbackManager([opik_callback_handler])

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_opik-1.3.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

llama_index_callbacks_opik-1.3.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_callbacks_opik-1.3.0.tar.gz.

File metadata

  • Download URL: llama_index_callbacks_opik-1.3.0.tar.gz
  • Upload date:
  • Size: 3.5 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_opik-1.3.0.tar.gz
Algorithm Hash digest
SHA256 e88381d276afe3440d0a96bd91d2c0e672d01c962ce0a2e28019621dcfafa9fd
MD5 749a097ce8799af10299db406e819d54
BLAKE2b-256 b87f71353b44d7e408e972ddbfc2f921826166d060b7ca51f166bb856c791d8a

See more details on using hashes here.

File details

Details for the file llama_index_callbacks_opik-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_callbacks_opik-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.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_opik-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 524d7d53ce13cd437fffc68d1494775bf833ab5857256c378c0a53e80ef90243
MD5 a52879bd1ac1d094afae60a0d4ef24f5
BLAKE2b-256 e906d09d34585cc83add9ac07ec5a0653a4cc0b7ad93842204b31102364fe360

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