Cleanlab provides tools for evaluating and improving the quality of LLM outputs. The Cleanlab TLM (Trustworthy Language Model) library helps you assess the trustworthiness of LLM responses and provides explanations for its evaluations.This guide shows you how to integrate Cleanlab TLM with Langtrace to monitor and trace your Cleanlab interactions.
After running your application with the Cleanlab TLM integration, you can view the traces in the Langtrace dashboard. The traces will show the Cleanlab TLM operations, including:
The prompt operation
The trustworthiness score calculation
Each trace will include the inputs, outputs, and metadata from your Cleanlab TLM interactions.
Here’s how Cleanlab TLM traces appear in the Langtrace dashboard:You can see detailed information about each trace, including the trustworthiness score and explanation: