Skip to main content

LlamaIndex

Native callback support is on the roadmap. The pattern below works today with any LlamaIndex query engine.

Pattern

Wrap query engine calls in a telemetry execution. Use MODEL_INVOCATION for the LLM call and TOOL_CALL for retrievers.

Coming soon

  • LlamaIndexCallbackHandler for automatic instrumentation
  • Per-node retrieval metadata (chunks, scores)