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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_opik-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e8f4c33f59a8303275dcfe34bf9d26444265f44e10163847c9ee047cb6655988
MD5 8d11e017e20c0d9f537e9b7d6a092a1c
BLAKE2b-256 00b71e9cdd3a3876e24e7a69e719036df47013e49901ea65e64bc4fce5a0ea25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_callbacks_opik-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2de81eb8e912f94fcab99e0bbaa738e6a9314b308296eab8a04644a39bc5e036
MD5 b01e17bd6d7f4ddd995697c3a85f46c1
BLAKE2b-256 06e02abcafd3ec4dff7ad859008c0603dd9ad2ba1778438cd57a35e2fbbf1eb1

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