From fbc907c3712fbe6c8016be8acf5bcd178c726505 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Mon, 18 Aug 2025 16:47:34 -0400 Subject: [PATCH] Change path to extensions --- CHANGELOG.md | 4 ++-- examples/foundational/44-voicemail-detection.py | 2 +- src/pipecat/{utils/voicemail => extensions}/__init__.py | 0 src/pipecat/extensions/voicemail/__init__.py | 0 .../{utils => extensions}/voicemail/voicemail_detector.py | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename src/pipecat/{utils/voicemail => extensions}/__init__.py (100%) create mode 100644 src/pipecat/extensions/voicemail/__init__.py rename src/pipecat/{utils => extensions}/voicemail/voicemail_detector.py (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e808f828..25a5d887a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added `pipecat.utils.voicemail`, a module for detecting voicemail vs. live - conversation, primarily intended for use in outbound calling scenarios. +- Added `pipecat.extensions.voicemail`, a module for detecting voicemail vs. + live conversation, primarily intended for use in outbound calling scenarios. - Added new frames to the `idle_timeout_frames` arg: `TranscriptionFrame`, `InterimTranscriptionFrame`, `UserStartedSpeakingFrame`, and diff --git a/examples/foundational/44-voicemail-detection.py b/examples/foundational/44-voicemail-detection.py index 84e24cf2f..60eefa0c2 100644 --- a/examples/foundational/44-voicemail-detection.py +++ b/examples/foundational/44-voicemail-detection.py @@ -10,6 +10,7 @@ from dotenv import load_dotenv from loguru import logger from pipecat.audio.vad.silero import SileroVADAnalyzer +from pipecat.extensions.voicemail.voicemail_detector import VoicemailDetector from pipecat.frames.frames import EndTaskFrame, TTSSpeakFrame from pipecat.pipeline.pipeline import Pipeline from pipecat.pipeline.runner import PipelineRunner @@ -24,7 +25,6 @@ from pipecat.services.openai.llm import OpenAILLMService from pipecat.transports.base_transport import BaseTransport, TransportParams from pipecat.transports.network.fastapi_websocket import FastAPIWebsocketParams from pipecat.transports.services.daily import DailyParams -from pipecat.utils.voicemail.voicemail_detector import VoicemailDetector load_dotenv(override=True) diff --git a/src/pipecat/utils/voicemail/__init__.py b/src/pipecat/extensions/__init__.py similarity index 100% rename from src/pipecat/utils/voicemail/__init__.py rename to src/pipecat/extensions/__init__.py diff --git a/src/pipecat/extensions/voicemail/__init__.py b/src/pipecat/extensions/voicemail/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/pipecat/utils/voicemail/voicemail_detector.py b/src/pipecat/extensions/voicemail/voicemail_detector.py similarity index 100% rename from src/pipecat/utils/voicemail/voicemail_detector.py rename to src/pipecat/extensions/voicemail/voicemail_detector.py