Member Junction
    Preparing search index...

    A transcript event emitted by a realtime client for either side of the conversation.

    Kind distinguishes NORMAL conversation turns from NARRATION turns — the brief, ephemeral spoken updates a host requests via BaseRealtimeClient.RequestSpokenUpdate while background (delegated) work runs. By product decision narration transcripts are NOT captions and are never persisted; hosts surface them as a transient "live note".

    interface RealtimeClientTranscript {
        IsFinal: boolean;
        Kind: "normal" | "narration";
        ReplacesPrevious?: boolean;
        Role: "User" | "Assistant";
        Text: string;
    }
    Index

    Properties

    IsFinal: boolean

    Whether this is the final transcript for the turn (true) or an interim delta (false).

    Kind: "normal" | "narration"

    'normal' for a regular conversation turn; 'narration' for an ephemeral spoken-progress update triggered by BaseRealtimeClient.RequestSpokenUpdate.

    ReplacesPrevious?: boolean

    MACHINE-READABLE correction marker: true when this FINAL transcript SUPERSEDES the session's immediately-preceding final transcript of the same role — e.g. ElevenLabs' post-barge-in agent_response_correction, which re-finalizes the assistant turn with the text that was ACTUALLY spoken before the interruption cut it off. Hosts that persist finals must UPDATE the previous turn in place instead of appending a duplicate. Absent/false on ordinary turns and on interim deltas.

    Role: "User" | "Assistant"

    Whose turn this transcript belongs to.

    Text: string

    The transcribed text. For IsFinal: false events this is the incremental DELTA for the in-flight turn; for IsFinal: true it is the complete turn text.