Custom LLM Tracing
Custom LLM Tracing Setup
How to setup custom LLM tracing in your project
Prerequisite Please see here to get and set your API Key environment variable.
Install the lytix SDK
(Reccomended) Set you API key via the environment variable
export LX_API_KEY=<your-api-key-here>
Set your API key in the code
Capture Model Trace
Capture custom model IO events outside of any SDK or client
You’ll now see the model IO trace in the Lytix platform here.