diff --git a/examples/quickstart/bot.py b/examples/quickstart/bot.py index 19a9206eb..fbe27d783 100644 --- a/examples/quickstart/bot.py +++ b/examples/quickstart/bot.py @@ -27,16 +27,11 @@ from loguru import logger print("🚀 Starting Pipecat bot...") print("⏳ Loading models and imports (20 seconds, first run only)\n") -logger.info("Loading Local Smart Turn Analyzer V3...") -from pipecat.audio.turn.smart_turn.local_smart_turn_v3 import LocalSmartTurnAnalyzerV3 - -logger.info("✅ Local Smart Turn Analyzer V3 loaded") logger.info("Loading Silero VAD model...") from pipecat.audio.vad.silero import SileroVADAnalyzer logger.info("✅ Silero VAD model loaded") -from pipecat.audio.vad.vad_analyzer import VADParams from pipecat.frames.frames import LLMRunFrame logger.info("Loading pipeline components...") @@ -55,10 +50,6 @@ from pipecat.services.deepgram.stt import DeepgramSTTService from pipecat.services.openai.llm import OpenAILLMService from pipecat.transports.base_transport import BaseTransport, TransportParams from pipecat.transports.daily.transport import DailyParams -from pipecat.turns.user_stop.turn_analyzer_user_turn_stop_strategy import ( - TurnAnalyzerUserTurnStopStrategy, -) -from pipecat.turns.user_turn_strategies import UserTurnStrategies logger.info("✅ All components loaded successfully!") @@ -87,12 +78,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): context = LLMContext(messages) user_aggregator, assistant_aggregator = LLMContextAggregatorPair( context, - user_params=LLMUserAggregatorParams( - user_turn_strategies=UserTurnStrategies( - stop=[TurnAnalyzerUserTurnStopStrategy(turn_analyzer=LocalSmartTurnAnalyzerV3())] - ), - vad_analyzer=SileroVADAnalyzer(params=VADParams(stop_secs=0.2)), - ), + user_params=LLMUserAggregatorParams(vad_analyzer=SileroVADAnalyzer()), ) pipeline = Pipeline( diff --git a/examples/quickstart/pyproject.toml b/examples/quickstart/pyproject.toml index 863e350d4..ee18f96c0 100644 --- a/examples/quickstart/pyproject.toml +++ b/examples/quickstart/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "Quickstart example for building voice AI bots with Pipecat" requires-python = ">=3.10" dependencies = [ - "pipecat-ai[webrtc,daily,silero,deepgram,openai,cartesia,local-smart-turn-v3,runner]", + "pipecat-ai[webrtc,daily,silero,deepgram,openai,cartesia,runner]", "pipecat-ai-cli" ] @@ -17,4 +17,7 @@ dev = [ [tool.ruff] line-length = 100 [tool.ruff.lint] -select = ["I"] \ No newline at end of file +select = ["I"] + + [tool.uv.sources] +pipecat-ai = { path = "../../", editable = true } \ No newline at end of file