Skip to content

TranscriptionPreflightEvent

Emitted when a provider sends a preflight/eager-end-of-turn signal.

Defined in: src/core/events/types.ts:232

Emitted when a provider sends a preflight/eager-end-of-turn signal.

Remarks

DeepgramFlux (e.g., flux-general-en) emits this before speech_final to allow downstream stages (LLM) to start generating speculatively. The text may change slightly when the confirmed speech_final arrives.

This event is only relevant when EagerLLMConfig is enabled.

Example

agent.on('transcription.preflight', (event) => {
  console.log('Preflight transcript:', event.text);
});

See

Extends

  • BaseEvent

Properties

PropertyTypeDescriptionInherited fromDefined in
confidence?numberConfidence score (0-1) for this preflight result, if available.-src/core/events/types.ts:245
metadata?Record<string, unknown>Optional metadata associated with the event. Remarks May contain provider-specific data or debugging information.BaseEvent.metadatasrc/core/events/types.ts:94
textstringProvisional transcript text. Remarks May change slightly when the confirmed speech_final arrives.-src/core/events/types.ts:242
timestampnumberUnix timestamp (in milliseconds) when the event occurred. Remarks Useful for latency measurements and debugging the pipeline timing.BaseEvent.timestampsrc/core/events/types.ts:86
type"transcription.preflight"Discriminant for this event type.-src/core/events/types.ts:234

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency