Skip to content

TurnMetricsSummary

One completed (or interrupted) conversation turn's timing summary.

Defined in: src/core/pipeline/TurnMetrics.ts:121

One completed (or interrupted) conversation turn’s timing summary.

Remarks

Emitted through the collector’s summary callback, which CompositeVoice re-emits as the turn.metrics SDK event.

Extended by

Properties

PropertyTypeDescriptionDefined in
durationsTurnDurationsDerived phase durations in milliseconds.src/core/pipeline/TurnMetrics.ts:144
eagerUsedbooleanWhether an eager (preflight-triggered) LLM generation was adopted.src/core/pipeline/TurnMetrics.ts:132
interruptedbooleanWhether the turn ended early — barge-in, stopSpeaking(), or a pipeline error — rather than completing playback.src/core/pipeline/TurnMetrics.ts:138
modality"voice" | "text"How the turn was initiated: transcribed speech or typed text.src/core/pipeline/TurnMetrics.ts:129
timestampsTurnTimestampsAbsolute timestamps (epoch ms) for each captured stage.src/core/pipeline/TurnMetrics.ts:141
transcriptstringThe user text that started the turn.src/core/pipeline/TurnMetrics.ts:126
turnIdnumberMonotonic turn counter, starting at 1 for the first turn.src/core/pipeline/TurnMetrics.ts:123

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency