Skip to main content
Python auto-instrumentation library for LlamaIndex. These traces are fully OpenTelemetry compatible and can be sent to an OpenTelemetry collector for viewing, such as Arize Phoenix.

Installation

Compatibility

Quickstart

Install packages needed for this demonstration:

Start Phoenix server

Start the Phoenix app in the background as a collector. By default, it listens on http://localhost:6006:
The Phoenix app does not send data over the internet. It only operates locally on your machine.

Setup instrumentation

Download a text file

Configure OpenAI credentials

Query the indexed documents

Visit the Phoenix app at http://localhost:6006 to see the traces.

More Info