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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: llama_index_callbacks_opik-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for llama_index_callbacks_opik-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7fb0ebc5b38b104e1893f9555c03edc49f033fd4b32f88cd19c25144c7f30bd9
MD5 b841e34e7c501a4016d3d8a4ce17dccb
BLAKE2b-256 c3b8807cade2250ae31958e182d09293f71a4eb618b616b4f1319c818f40988c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_opik-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76d89b2dca2f0e79ef757ed7dd91b3d672f4e324b59a2a86e2667a3a987bfed3
MD5 69f58ea076f9118c8296caf644a2d785
BLAKE2b-256 12a2a8411b49910a20e0876045fe9f7e1f3d35e96b66fc90922ce0df42404075

See more details on using hashes here.

Supported by

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