Langtrace integrates directly with LlamaIndex, offering detailed, real-time insights into performance metrics such as accuracy, evaluations, and latency.

Setup

  1. Install Langtrace’s SDK and initialize the SDK in your code.

Usage

Here’s a quick example of how to use Langtrace with LlamaIndex: