Sessions

Estimated reading: 2 minutes

A Session groups multiple traces that belong to the same interaction, such as a multi-turn conversation or a long-running workflow. Each trace is associated with a Session ID, and traces that share the same Session ID are automatically grouped into a single session.

Session Creation and Grouping

Sessions are created by assigning a Session ID when a trace is generated. The Session ID can be generated automatically by the system or supplied by the application.

Once assigned, all traces and observations with the same Session ID are grouped into the same session.

For complete grouping, assign the Session ID at the beginning of the trace so that all subsequent observations inherit it.

Session ID Constraints

  • Must be a string containing standard ASCII characters.
  • Must be fewer than 200 characters.
  • Identifiers longer than 200 characters are ignored rather than truncated.
Session Grouping

Example

In a chatbot conversation, each user message is recorded as a separate trace, while the entire conversation is represented as a single session.

Share this Doc

Sessions

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online