Module Values_2.RealTimeContactAnalysisSegmentTranscriptSource

The analyzed transcript segment.

Sourcetype nonrec t = {
  1. id : RealTimeContactAnalysisId256.t option;
    (*

    The identifier of the transcript.

    *)
  2. participantId : Values_0.ParticipantId.t option;
    (*

    The identifier of the participant.

    *)
  3. participantRole : Values_0.ParticipantRole.t option;
    (*

    The role of the participant. For example, is it a customer, agent, or system.

    *)
  4. displayName : Values_0.DisplayName.t option;
    (*

    The display name of the participant.

    *)
  5. content : RealTimeContactAnalysisTranscriptContent.t option;
    (*

    The content of the transcript. Can be redacted.

    *)
  6. contentType : RealTimeContactAnalysisContentType.t option;
    (*

    The type of content of the item. For example, text/plain.

    *)
  7. time : RealTimeContactAnalysisTimeData.t option;
    (*

    Field describing the time of the event. It can have different representations of time.

    *)
  8. redaction : RealTimeContactAnalysisTranscriptItemRedaction.t option;
    (*

    Object describing redaction that was applied to the transcript. If transcript has the field it means part of the transcript was redacted.

    *)
  9. sentiment : RealTimeContactAnalysisSentimentLabel.t option;
    (*

    The sentiment detected for this piece of transcript.

    *)
}
Sourceval make : ?id:??? -> ?participantId:??? -> ?participantRole:??? -> ?displayName:??? -> ?content:??? -> ?contentType:??? -> ?time:??? -> ?redaction:??? -> ?sentiment:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of RealTimeContactAnalysisId256.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of RealTimeContactAnalysisOffset.t ]) list ] list | `Timestamp of RealTimeContactAnalysisTimeInstant.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t