Trubrics is an LLM user analytics platform that lets you collect, analyse and manage user prompts & feedback on AI models. Check out Trubrics repo for more information on Trubrics.

Installation and Setup

We need to install the trubrics Python package:
pip install trubrics

Callbacks

See a usage example.
from langchain.callbacks import TrubricsCallbackHandler