Rename *-local-vad.py example variants to *-locally-driven-turns.py
The "-local-vad" suffix was ambiguous now that local VAD has two meanings in the realtime context: supplementary user-turn frames broadcast alongside server-driven turns (commented-out opt-in in the base examples), vs. local turn detection driving the conversation end-to-end (server-side turn detection disabled, what these variant files actually demonstrate). The new "-locally-driven-turns" suffix matches the latter intent unambiguously. Renames: realtime-openai-local-vad.py → realtime-openai-locally-driven-turns.py realtime-gemini-live-local-vad.py → realtime-gemini-live-locally-driven-turns.py realtime-grok-local-vad.py → realtime-grok-locally-driven-turns.py realtime-inworld-local-vad.py → realtime-inworld-locally-driven-turns.py Plus the matching changelog fragments. Service docstrings and base examples that referenced the old filenames now point at the new ones.
This commit is contained in:
@@ -147,7 +147,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
||||
# decisions and can desynchronize in subtle ways.
|
||||
#
|
||||
# For local VAD driving the conversation (server VAD disabled), see
|
||||
# `realtime-gemini-live-local-vad.py` instead.
|
||||
# `realtime-gemini-live-locally-driven-turns.py` instead.
|
||||
#
|
||||
# from pipecat.audio.vad.silero import SileroVADAnalyzer
|
||||
# from pipecat.processors.aggregators.llm_response_universal import (
|
||||
|
||||
@@ -190,8 +190,8 @@ Remember, your responses should be short. Just one or two sentences, usually. Re
|
||||
# own UserStarted/StoppedSpeakingFrame from server VAD events, so
|
||||
# local VAD on the aggregator is unnecessary. realtime_service_mode
|
||||
# decouples context writes from turn frames and transcript-bound
|
||||
# turn-end. See `realtime-openai-local-vad.py` for the variant
|
||||
# that disables server VAD and drives turn detection locally.
|
||||
# turn-end. See `realtime-openai-locally-driven-turns.py` for the
|
||||
# variant that disables server VAD and drives turn detection locally.
|
||||
realtime_service_mode=RealtimeServiceModeConfig(),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user