Once you install PostHog's LLM observabilty SDK, it autocaptures LLM generations and traces. You can then view these in PostHog.
Generations
Generations are an event that capture an LLM request. The generations tab lists them along with the properties autocaptured by the PostHog like the person, model, total cost, token usage, and more.
When you expand a generation, it includes the properties and metadata that every event has along with a conversation history with the role (system, user, assistant) as well as input and output content.
Traces
Traces are a collection of generations that capture a full interaction between a user and an LLM. The traces tab lists them along with the properties autocaptured by the PostHog like the person, total cost, total latency, and more.
Clicking on a trace opens a timeline of the interaction with all the generation events enabling you to see the entire conversation, details about the trace, and the individual generation events.