Skip to main content

Interface: TranscriptTurn

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2259

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

Properties​

at​

at: number

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2267

Wall-clock milliseconds when the turn was written.


endMs?​

optional endMs: number

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2275

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


runId​

runId: string

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2261

The run the turn belongs to.


seq​

seq: number

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2263

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


speaker?​

optional speaker: string

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2271

Who spoke, when the session can tell.


startMs?​

optional startMs: number

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2273

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


text​

text: string

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2269

The turn's transcribed text.


turnId​

turnId: string

Defined in: packages/agentos/src/io/voice-pipeline/types.ts:2265

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