Converts a session into a list of EvalInvocation items, grouping each user turn with its subsequent agent tool calls, intermediate responses, and final response.
Optional
The session whose events should be converted.
An array of EvalInvocation records, one per user turn.
Converts a session into a list of EvalInvocation items, grouping each user turn with its subsequent agent tool calls, intermediate responses, and final response.