Interface TranscriptTurn

A transcript turn a listen session wrote. turnId is <runId>:<seq>, assigned by the sink in arrival order.

interface TranscriptTurn {
    runId: string;
    seq: number;
    turnId: string;
    at: number;
    text: string;
    speaker?: string;
    startMs?: number;
    endMs?: number;
}

Properties

runId: string

The run the turn belongs to.

seq: number

The turn's number in its run, in arrival order.

turnId: string

The turn's stable id, <runId>:<seq>.

at: number

Wall-clock milliseconds when the turn was written.

text: string

The turn's transcribed text.

speaker?: string

Who spoke, when the session can tell.

startMs?: number

Where the turn starts on the session's audio clock, when the transcriber gave one.

endMs?: number

Where the turn ends on the same clock, when the transcriber gave one.