TranscriptionAttributes constructor

const TranscriptionAttributes({
  1. String? lkSegmentId,
  2. String? lkTranscribedTrackId,
  3. bool? lkTranscriptionFinal,
})

Schema for transcription-related text stream attributes.

These attributes are attached to LiveKit text streams used for agent and user transcriptions (typically on the 'lk.transcription' topic).

  • Note: Some agent implementations may encode lk.transcription_final as a boolean or a string ("true"/"false"/"1"/"0"). This model accepts both forms.

Implementation

const TranscriptionAttributes({
  this.lkSegmentId,
  this.lkTranscribedTrackId,
  this.lkTranscriptionFinal,
});