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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_opik-1.2.1.tar.gz
Algorithm Hash digest
SHA256 61c2bb74fb2f5378c71ffbc93fff3a15cfc86a783efe7fd80d7ffc2e32701764
MD5 7d7cc60477b2eef8f0a77a897f8783ad
BLAKE2b-256 79d7b7e59c0e81e0eb732535945f910bd9bcc46ff018e21099506264bc86546e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_opik-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a394adca3e781e1ea0b9a02f5fd4c86c18f2730c7e4a1a3b446c63dc1722da6e
MD5 71fe9cfffb35fc7746858e11c7463a2f
BLAKE2b-256 14a6443befcdb326d55367a69c0df358bdc6fd4325ed71c5f949afa59f94f8cc

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