Skip to Content
Vatis TechAPI docs
Real-time transcription

Partial and final text

How a partial grows into a final, what ends a segment, and which text to show and which to store.

  • A partial shows the segment being spoken so far. Its text is the raw words: lowercase, no punctuation, numbers in words. In a long segment, the part already finished is punctuated. Show it greyed, or as a live caption.
  • A final is a finished segment, with punctuation, capitals and numbers as digits (unless you turn them off with punctuation=false or numbers=words). It is never revised: store and show these.
  • segment_id ties them together: a partial has the id its final will have.

What ends a segment:

commitA segment endsSuits
vad (default)after a pause of vad_silence_s (1.5 s) in the speech, or when you send {"type": "commit"}continuous speech: meetings, calls, captions
manualonly when you send {"type": "commit"}, or after 30 s of speech without a commitpush-to-talk, applications that take turns
turn (Romanian)as soon as the speaker sounds finished, else after a pause of vad_silence_s, or when you send {"type": "commit"}voice bots that answer the caller: End of turn
  • With vad, a final comes about 1.5 s after the last word, the pause included. With manual, it comes a fraction of a second after your commit. With turn, when the speaker sounds finished, it comes about 0.5 s after the last word at the median.
  • With vad, continuous speech without a pause makes one long segment, of up to 30 s.
  • With manual, you can commit anywhere, even in the middle of a sentence: recognition goes on across the commit. With vad and turn, every final restarts recognition: commit at pauses there, as a commit in the middle of a sentence can cost accuracy around it.
  • A commit with nothing said since the last final gives a final with an empty text. Skip it.