Skip to main content

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])

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.4.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.4.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_callbacks_opik-1.4.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.4.0.tar.gz
Algorithm Hash digest
SHA256 acebb499b5cf8e2d9950f7766f5cbf96b5228966dcac0a1fa141a34967ebf071
MD5 2da0db26d17dcbed698e70d168200c77
BLAKE2b-256 6f4230f560e4fd5fd39a7dd3811176c0320acc6e699e858b1c5eb558bfcfbe78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_callbacks_opik-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b8b93a585cb415a1f928f4187d1612109c391035b44587efc8590358ec003a3
MD5 14934fdd781239ad44fda49d342bc7e7
BLAKE2b-256 0eefe53dc0d8856f911a0d01185bf8bb73cabb725b68161f344dad1c725c1662

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page