[{"data":1,"prerenderedAt":384},["ShallowReactive",2],{"navigation":3,"\u002Fconcepts\u002Fstable-vs-partial-text":224,"\u002Fconcepts\u002Fstable-vs-partial-text-surround":379},[4,24,60,88,120,152,196],{"title":5,"path":6,"stem":7,"children":8,"icon":23},"Start","\u002Fstart","1.start\u002F1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Overview",{"title":12,"path":13,"stem":14},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F2.quickstart",{"title":16,"path":17,"stem":18},"Authentication","\u002Fstart\u002Fauthentication","1.start\u002F3.authentication",{"title":20,"path":21,"stem":22},"Choose an API","\u002Fstart\u002Fchoose-an-api","1.start\u002F5.choose-an-api","i-lucide-rocket",{"title":25,"path":26,"stem":27,"children":28,"icon":59},"Realtime","\u002Frealtime","2.realtime\u002F1.index",[29,31,35,39,43,47,51,55],{"title":30,"path":26,"stem":27},"Realtime Overview",{"title":32,"path":33,"stem":34},"Realtime Quickstart","\u002Frealtime\u002Fquickstart","2.realtime\u002F2.quickstart",{"title":36,"path":37,"stem":38},"Connection Lifecycle","\u002Frealtime\u002Fconnection-lifecycle","2.realtime\u002F3.connection-lifecycle",{"title":40,"path":41,"stem":42},"Audio Input","\u002Frealtime\u002Faudio-input","2.realtime\u002F4.audio-input",{"title":44,"path":45,"stem":46},"Transcript Lifecycle","\u002Frealtime\u002Ftranscript-lifecycle","2.realtime\u002F5.transcript-lifecycle",{"title":48,"path":49,"stem":50},"Realtime Translation","\u002Frealtime\u002Frealtime-translation","2.realtime\u002F6.realtime-translation",{"title":52,"path":53,"stem":54},"Session Configuration","\u002Frealtime\u002Fsession-configuration","2.realtime\u002F7.session-configuration",{"title":56,"path":57,"stem":58},"Handling Interruptions & Silence","\u002Frealtime\u002Finterruptions-silence","2.realtime\u002F8.interruptions-silence","i-lucide-radio",{"title":61,"path":62,"stem":63,"children":64,"icon":87},"Recorded","\u002Frecorded","3.recorded\u002F1.index",[65,67,71,75,79,83],{"title":66,"path":62,"stem":63},"Recorded Overview",{"title":68,"path":69,"stem":70},"Transcribe Audio","\u002Frecorded\u002Ftranscribe-audio","3.recorded\u002F2.transcribe-audio",{"title":72,"path":73,"stem":74},"Timestamps & Speakers","\u002Frecorded\u002Ftimestamps-speakers","3.recorded\u002F3.timestamps-speakers",{"title":76,"path":77,"stem":78},"Subtitles","\u002Frecorded\u002Fsubtitles","3.recorded\u002F4.subtitles",{"title":80,"path":81,"stem":82},"Recorded Translation","\u002Frecorded\u002Ftranslation","3.recorded\u002F5.translation",{"title":84,"path":85,"stem":86},"Structured Results","\u002Frecorded\u002Fstructured-results","3.recorded\u002F6.structured-results","i-lucide-file-audio",{"title":89,"path":90,"stem":91,"children":92,"icon":119},"Concepts","\u002Fconcepts","4.concepts\u002F1.index",[93,95,99,103,107,111,115],{"title":94,"path":90,"stem":91},"Voice Context Layer",{"title":96,"path":97,"stem":98},"Stable vs. Partial Text","\u002Fconcepts\u002Fstable-vs-partial-text","4.concepts\u002F2.stable-vs-partial-text",{"title":100,"path":101,"stem":102},"StableStream","\u002Fconcepts\u002Fstablestream","4.concepts\u002F3.stablestream",{"title":104,"path":105,"stem":106},"Context-Aware Processing","\u002Fconcepts\u002Fcontext-aware-processing","4.concepts\u002F4.context-aware-processing",{"title":108,"path":109,"stem":110},"Understanding Latency","\u002Fconcepts\u002Flatency","4.concepts\u002F5.latency",{"title":112,"path":113,"stem":114},"Live Translation","\u002Fconcepts\u002Flive-translation","4.concepts\u002F6.live-translation",{"title":116,"path":117,"stem":118},"Trinity Engine","\u002Fconcepts\u002Ftrinity-engine","4.concepts\u002F7.trinity-engine","i-lucide-brain",{"title":121,"path":122,"stem":123,"children":124,"icon":151},"Guides","\u002Fguides","5.guides\u002F1.index",[125,127,131,135,139,143,147],{"title":126,"path":122,"stem":123},"Browser Live Captions",{"title":128,"path":129,"stem":130},"Server-side Streaming","\u002Fguides\u002Fserver-side-streaming","5.guides\u002F2.server-side-streaming",{"title":132,"path":133,"stem":134},"Build a Stable Caption UI","\u002Fguides\u002Fstable-caption-ui","5.guides\u002F3.stable-caption-ui",{"title":136,"path":137,"stem":138},"Build Live Translation","\u002Fguides\u002Flive-translation","5.guides\u002F4.live-translation",{"title":140,"path":141,"stem":142},"Save a Transcript","\u002Fguides\u002Fsave-transcript","5.guides\u002F5.save-transcript",{"title":144,"path":145,"stem":146},"Reconnect a Live Session","\u002Fguides\u002Freconnection","5.guides\u002F6.reconnection",{"title":148,"path":149,"stem":150},"Client-VAD speech segments","\u002Fguides\u002Fclient-vad-segments","5.guides\u002F7.client-vad-segments","i-lucide-book-open",{"title":153,"path":154,"stem":155,"children":156,"icon":195},"Reference","\u002Fapi-reference","6.api-reference\u002F1.index",[157,159,163,167,171,175,179,183,187,191],{"title":158,"path":154,"stem":155},"API Reference Overview",{"title":160,"path":161,"stem":162},"Admin API","\u002Fapi-reference\u002Fadmin","6.api-reference\u002F10.admin",{"title":164,"path":165,"stem":166},"Realtime API","\u002Fapi-reference\u002Frealtime-api","6.api-reference\u002F2.realtime-api",{"title":168,"path":169,"stem":170},"Client Messages","\u002Fapi-reference\u002Fclient-messages","6.api-reference\u002F3.client-messages",{"title":172,"path":173,"stem":174},"Server Events","\u002Fapi-reference\u002Fserver-events","6.api-reference\u002F4.server-events",{"title":176,"path":177,"stem":178},"Segment Transcription API","\u002Fapi-reference\u002Fsegment-transcription","6.api-reference\u002F5.segment-transcription",{"title":180,"path":181,"stem":182},"Batch Transcription Jobs","\u002Fapi-reference\u002Fbatch-jobs","6.api-reference\u002F6.batch-jobs",{"title":184,"path":185,"stem":186},"Languages & Models","\u002Fapi-reference\u002Flanguages","6.api-reference\u002F7.languages",{"title":188,"path":189,"stem":190},"Errors","\u002Fapi-reference\u002Ferrors","6.api-reference\u002F8.errors",{"title":192,"path":193,"stem":194},"Rate Limits","\u002Fapi-reference\u002Frate-limits","6.api-reference\u002F9.rate-limits","i-lucide-code",{"title":197,"path":198,"stem":199,"children":200,"icon":223},"Production","\u002Fproduction","7.production\u002F1.index",[201,203,207,211,215,219],{"title":202,"path":198,"stem":199},"Production Checklist",{"title":204,"path":205,"stem":206},"Reconnection & Retries","\u002Fproduction\u002Freconnection-retries","7.production\u002F2.reconnection-retries",{"title":208,"path":209,"stem":210},"Latency Best Practices","\u002Fproduction\u002Flatency-best-practices","7.production\u002F3.latency-best-practices",{"title":212,"path":213,"stem":214},"Security & Privacy","\u002Fproduction\u002Fsecurity-privacy","7.production\u002F4.security-privacy",{"title":216,"path":217,"stem":218},"Data Retention","\u002Fproduction\u002Fdata-retention","7.production\u002F5.data-retention",{"title":220,"path":221,"stem":222},"Changelog","\u002Fproduction\u002Fchangelog","7.production\u002F6.changelog","i-lucide-server",{"id":225,"title":96,"body":226,"description":371,"draft":372,"extension":373,"links":374,"meta":375,"navigation":376,"path":97,"seo":377,"status":374,"stem":98,"__hash__":378},"docs\u002F4.concepts\u002F2.stable-vs-partial-text.md",{"type":227,"value":228,"toc":364},"minimark",[229,250,253,256,263,268,271,274,277,293,296,300,303,306,323,326,330,333,343,346,352,355,361],[230,231,233,237],"callout",{"icon":232},"i-lucide-info",[234,235,236],"p",{},"Current API behavior\nThis page explains the general concept of partial vs. stable text.",[234,238,239,240,244,245,249],{},"In the ",[241,242,243],"strong",{},"current realtime API",", only final\u002Fstable transcription events are pushed to the client (",[246,247,248],"code",{},"conversation.item.input_audio_transcription.completed","). There is no partial-text event stream at this time, so you do not need to implement rollback or replacement logic.",[234,251,252],{},"Live transcription is inherently provisional.",[234,254,255],{},"When a speaker is still talking, the system does not yet have all of the information required to interpret the utterance.",[234,257,258,259,262],{},"That means some text should be treated as ",[241,260,261],{},"working text",", while other text can become increasingly stable.",[264,265,267],"h2",{"id":266},"partial-text","Partial text",[234,269,270],{},"Partial text represents the system's current interpretation of ongoing speech.",[234,272,273],{},"It is optimized for responsiveness.",[234,275,276],{},"Partial text may change as:",[278,279,280,284,287,290],"ul",{},[281,282,283],"li",{},"additional audio arrives",[281,285,286],{},"sentence boundaries become clearer",[281,288,289],{},"ambiguous words are resolved",[281,291,292],{},"surrounding context changes the interpretation",[234,294,295],{},"Applications should assume partial text is mutable.",[264,297,299],{"id":298},"stable-text","Stable text",[234,301,302],{},"Stable text represents content that has reached a stronger level of contextual confidence.",[234,304,305],{},"It is intended to provide a more reliable boundary for applications that need to:",[278,307,308,311,314,317,320],{},[281,309,310],{},"display persistent text",[281,312,313],{},"translate a segment",[281,315,316],{},"save conversation history",[281,318,319],{},"trigger downstream processing",[281,321,322],{},"build conversational context",[234,324,325],{},"The exact stabilization signals exposed by each API are documented in the corresponding API reference.",[264,327,329],{"id":328},"stability-is-a-lifecycle","Stability is a lifecycle",[234,331,332],{},"It is useful to think of live text as moving through states rather than suddenly becoming correct:",[334,335,341],"pre",{"className":336,"code":338,"language":339,"meta":340},[337],"language-text","speech\n  ↓\nworking interpretation\n  ↓\ncontext develops\n  ↓\nstabilization\n  ↓\nstable context\n","text","",[246,342,338],{"__ignoreMap":340},[234,344,345],{},"The important distinction is therefore not simply:",[334,347,350],{"className":348,"code":349,"language":339,"meta":340},[337],"wrong → correct\n",[246,351,349],{"__ignoreMap":340},[234,353,354],{},"but:",[334,356,359],{"className":357,"code":358,"language":339,"meta":340},[337],"mutable → increasingly reliable\n",[246,360,358],{"__ignoreMap":340},[234,362,363],{},"This distinction becomes especially important when building user interfaces for live captions and translation.",{"title":340,"searchDepth":365,"depth":366,"links":367},1,2,[368,369,370],{"id":266,"depth":366,"text":267},{"id":298,"depth":366,"text":299},{"id":328,"depth":366,"text":329},"Live transcription is inherently provisional. Understanding the distinction between partial and stable text is essential for building live speech interfaces.",false,"md",null,{},true,{"title":96,"description":371},"WPkkSGMWWd3XsZfkRiLZRhfpi0lxoqmlvL0d5oQMVfA",[380,382],{"title":94,"path":90,"stem":91,"description":381,"children":-1},"A Voice Context Layer sits between live speech recognition and the application that consumes it.",{"title":100,"path":101,"stem":102,"description":383,"children":-1},"LansonAI's approach to maintaining readable continuity while live speech continues to evolve.",1789433608271]