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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llama_index_callbacks_opik-1.1.0.tar.gz
.
File metadata
- Download URL: llama_index_callbacks_opik-1.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f4c33f59a8303275dcfe34bf9d26444265f44e10163847c9ee047cb6655988 |
|
MD5 | 8d11e017e20c0d9f537e9b7d6a092a1c |
|
BLAKE2b-256 | 00b71e9cdd3a3876e24e7a69e719036df47013e49901ea65e64bc4fce5a0ea25 |
File details
Details for the file llama_index_callbacks_opik-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_callbacks_opik-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2de81eb8e912f94fcab99e0bbaa738e6a9314b308296eab8a04644a39bc5e036 |
|
MD5 | b01e17bd6d7f4ddd995697c3a85f46c1 |
|
BLAKE2b-256 | 06e02abcafd3ec4dff7ad859008c0603dd9ad2ba1778438cd57a35e2fbbf1eb1 |