diff --git a/examples/quickstart/bot.py b/examples/quickstart/bot.py index bf75616d0..19a9206eb 100644 --- a/examples/quickstart/bot.py +++ b/examples/quickstart/bot.py @@ -48,7 +48,6 @@ from pipecat.processors.aggregators.llm_response_universal import ( LLMContextAggregatorPair, LLMUserAggregatorParams, ) -from pipecat.processors.frameworks.rtvi import RTVIObserver, RTVIProcessor from pipecat.runner.types import RunnerArguments from pipecat.runner.utils import create_transport from pipecat.services.cartesia.tts import CartesiaTTSService @@ -92,15 +91,13 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): user_turn_strategies=UserTurnStrategies( stop=[TurnAnalyzerUserTurnStopStrategy(turn_analyzer=LocalSmartTurnAnalyzerV3())] ), + vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), ), ) - rtvi = RTVIProcessor() - pipeline = Pipeline( [ transport.input(), # Transport user input - rtvi, # RTVI processor stt, user_aggregator, # User responses llm, # LLM @@ -116,7 +113,6 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): enable_metrics=True, enable_usage_metrics=True, ), - observers=[RTVIObserver(rtvi)], ) @transport.event_handler("on_client_connected") @@ -143,12 +139,10 @@ async def bot(runner_args: RunnerArguments): "daily": lambda: DailyParams( audio_in_enabled=True, audio_out_enabled=True, - vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), ), "webrtc": lambda: TransportParams( audio_in_enabled=True, audio_out_enabled=True, - vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), ), }