A session label is associated with a given session and contains an evaluation of quality and descriptions of issues the user encountered in that session or other details.

Example Usage

import { SessionLabel } from "syllable-sdk/models/components";

let value: SessionLabel = {
  sessionId: 97258,
  type: "auto-rating",
  code: "BAD",
  userEmail: "<value>",
  issueCategories: [
    "Silent treatment",
  ],
  id: 169025,
  timestamp: "<value>",
};

Fields

FieldTypeRequiredDescriptionExample
sessionIdnumberTRUEThe internal ID of the session (see Session.session_id)
typestringTRUEThe type of the labelauto-rating
codestringTRUEA code describing the quality of the labeled sessionGOOD
userEmailstringTRUEThe email of the user who created the label
commentsstringFALSEComment string describing additional details about the session
issueCategoriesstring[]FALSEDescriptions of issues occurring in the labeled call[
“Silent treatment”
]
idnumberTRUEThe internal ID of the label
timestampstringTRUEThe timestamp of the label creation