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