Repository navigation
Release ONDEWO S2T API 7.6.0
New Features
- [OND236-120]
TurnDetectionOptions.oneof_turn_detectorchooses
the turn detector explicitly, each with only the options it reads:
turn_detection_chat_llm_options(TurnDetectionChatLlmOptions:openai_llm_options,system_prompt,
user_prompt),turn_detection_end_of_utterance_llm_options(TurnDetectionEndOfUtteranceLlmOptions, e.g.
livekit/turn-detector:openai_llm_options,end_of_turn_probability_threshold(0 - 1),
turn_detection_hold_bands(TurnDetectionHoldBands),uncertain_min_words,exact_probability),
turn_detection_ondewo_de_options(TurnDetectionOndewoDeOptions: the ONDEWO German turn-detection model on
vLLM, e.g.ondewo-s2t-model-de-vad-tsd-ondewo-qwen3-0.6b, formerly
ondewo-s2t-model-de-turn-detection-qwen3-0.6b-lf2-ps;openai_llm_optionsand
end_of_turn_probability_threshold),turn_detection_ondewo_de_fusion_options
(TurnDetectionOndewoDeFusionOptions: the ONDEWO German fusion turn detector,openai_llm_optionsand
end_of_turn_probability_threshold) andturn_detection_pipecat_smart_turn_options
(TurnDetectionPipecatSmartTurnOptions: pipecat Smart Turn v3.2 on Triton,model_name,triton_server_host,
triton_server_port,max_audio_seconds(1 - 8),timeout_seconds,end_of_turn_probability_threshold
(0 - 1)). Every option falls back to the pipeline
config's value, then to the server's configured value; a request config that chooses a different detector than
the pipeline config uses only its own detector's options. - [OND236-120]
TurnDetectionOptions.incomplete_max_silence_seconds
(0 - 4): seconds of silence after an utterance judged not finished before it is finished anyway, for every
detector. - [OND236-120]
TurnDetectionOptions.turn_detection_conversation_context(TurnDetectionConversationContextof
turn_detection_context_turnswithROLE_USER/ROLE_ASSISTANT): the latest turns before the caller's
utterance, handed to the end-of-utterance LLM so it can judge the utterance against what was said before (e.g. a
bare number answering a question for a number). The assistant turns carry what the caller HEARD. The server keeps
the context per stream: a request carrying it replaces it, an empty wrapper clears it, a request without it keeps
it. Honoured in a request config only, not in a pipeline config. - [OND236-120] Per-stream processing chunk:
UtteranceDetectionOptions.min_audio_chunk_size(samples at the pipeline's sampling rate, 320 - 32000) overrides
the pipeline'sStreamingSpeechRecognition.min_audio_chunk_sizefor one stream. The chunk is the cadence at which
the voice-activity search, the sliding transcription and the turn detector run, i.e. at which an utterance can end
(parakeet general: 8000 = 0.5 s). Read from the first request of a stream that carries it. - [OND236-120] Per-request partial-transcription period:
UtteranceDetectionOptions.transcribe_not_final_period_seconds(seconds, (0, 5]) is the minimum new audio
between two non-final transcriptions of an utterance, for streaming and non-streaming requests. It overrides the
pipeline's newStreamingSpeechRecognition.transcribe_not_final_period_seconds, which in turn overrides the
server settingONDEWO_S2T_INFERENCE_SLIDING_PERIOD_OF_TRANSCRIPT. The effective cadence is rounded up to whole
min_audio_chunk_sizechunks. - [OND236-120] The pipeline-level
StreamingSpeechRecognition.transcribe_not_finalis nowoptional bool(same field number 1, wire-compatible), so
a pipeline config can carry an explicitfalse. On bothtranscribe_not_finalfields (the request-level
UtteranceDetectionOptions.transcribe_not_finaland the pipeline field) unset means the server default, which is
nowtrue(non-final results on); an explicitfalseopts out. - [OND236-120] End-of-speech candidate on a stream:
TranscribeStreamResponse.end_of_speech_candidatemarks the chunk where the server found the end of the caller's
speech and its turn detector held the utterance open (not finished, an uncertain hold band, or the minimum
endpointing delay), so a client can start work speculatively before the final. Only under server-side turn
detection; never on a final, never when the detector judges the turn finished at once; at most once per pause,
re-armed when the caller resumes speaking. With non-final results on it is a flag on that chunk's partial, without
them one non-final response carrying the current text. A hint, not a commit: the final still follows (or the
utterance continues) and may differ. Opt in withTranscriptionReturnOptions.return_end_of_speech_candidate,
fixed per stream likereturn_start_of_speech(a mid-streamreturn_optionsblock must repeat it).
Breaking Changes
- [OND236-120] The clients of this release are generated with
ondewo-proto-compiler 5.17.0 (protoc 35.1), pinned exactly by the newONDEWO_PROTO_COMPILER_VERSIONin the
Makefile instead of "the first tag the GitHub API returned". The generated code requires these runtimes or newer:- Python:
protobuf>=7.35.1andgrpcio>=1.85.1(every_pb2.pycarries# Protobuf Python Version: 7.35.1,
every_pb2_grpc.pyGRPC_GENERATED_VERSION = '1.85.1', and both refuse an older runtime at import), so
requires-python >=3.10. The.pyistubs come from mypy-protobuf 5.1.0. - js, typescript: grpc-web 2.1.1 (
protoc-gen-grpc-web2.1.1),google-protobuf ^4.0.3. grpc-web 2.1.1 limits
a response to 4 MB by default; a client that receives more must setmaxReceiveMessageSize. - Angular:
"grpc-web": "2.1.1"as an exact direct dependency plus"overrides": { "grpc-web": "$grpc-web" }
(@ngx-grpc/grpc-web-clientstill declares the peergrpc-web ^1.2.1),@ngx-grpc/*~3.1.2,
google-protobuf ~3.21.4. - Nodejs:
@grpc/grpc-js1.14.7 andgoogle-protobuf3.21.4.
- Python:
Bug Fixes
- [OND211-2443] The release tooling no longer puts the GitHub
token on a process command line (world-readable/proc/<pid>/cmdline):ghreads it from stdin,docker run
forwardsGITHUB_GH_TOKENby name, and the devops hand-off passes it in the sub-make's environment. - The release notes generated into each client's
RELEASE.mdare markdownlint-clean and end in exactly one
newline, so a client release no longer fails its first pre-commit run on rewritten notes.
Backwards Compatibility
Every new field is optional; unset reproduces the 7.5.0 behaviour exactly (the utterance is judged alone, with the
server's configured decision values). A 7.5.0 client never sends them.
TurnDetectionOptions.turn_detection_system_prompt, turn_detection_user_prompt and
turn_detection_llm_openai_options are deprecated but still honoured: when oneof_turn_detector is not set they
choose the detector by the name in turn_detection_llm_openai_options.model, as before, with the server's
configured values for every detector-specific option. Field numbers 6 - 12 of TurnDetectionOptions were
used by never-released 7.6.0 pre-release fields with other meanings and are reused here; a server or client built
from such a pre-release must be rebuilt against this release. Making the pipeline
transcribe_not_final optional does not change the wire format; a server built against 7.6.0 treats an unset
value as its default (now true), so a client that wants finals only must send an explicit false.
return_end_of_speech_candidate defaults to false, so a client that does not opt in never receives a response
with end_of_speech_candidate set.