Trubrics is a product analytics platform for AI applications.
Before diving into how you can integrate Trubrics in your app, here are some of our core concepts:
Events: any action within an application that is performed by a user, or an AI assistant. Examples may include user prompts, user button clicks, LLM generations, AI agent database queries, etc. Events can be collected from the backend or frontend of your app.
Properties: information that is tracked as part of an event. An example of a property for an LLM generation event is the number of tokens generated. Properties are completely custom, allowing analysis of data that is relevant to your product. Some properties are recognised by Trubrics.
Text attributes: when the property text
is set in an event, Trubrics automatically extracts attributes from the text that can be used for analysis. Default text attributes extracted by Trubrics include sentiment
and topic
extraction. Custom text attributes can also be configured to be extracted from certain events.
Users: a human that is performing actions within an app.
Assistants: an AI assistant that is performing actions within an app.
Threads: any event associated to an interaction between a user and an assistant (a conversation between an assistant and a user, for example).
Sessions: a user session, that can contain many events, and any number of threads with the same or different AI assistants.
Dive in to our examples to get started collecting events: