From 79afe7ec2a2d8bf3fd35c9bfcd29ef756c7fbd6d Mon Sep 17 00:00:00 2001 From: Joe Garlick Date: Tue, 7 Jan 2025 11:43:57 +0000 Subject: [PATCH 1/2] Changed: Polly authentication information to be optional --- src/pipecat/services/aws.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipecat/services/aws.py b/src/pipecat/services/aws.py index b6a763f16..a4ec6622b 100644 --- a/src/pipecat/services/aws.py +++ b/src/pipecat/services/aws.py @@ -119,9 +119,9 @@ class PollyTTSService(TTSService): def __init__( self, *, - api_key: str, - aws_access_key_id: str, - region: str, + api_key: Optional[str] = None, + aws_access_key_id: Optional[str] = None, + region: Optional[str] = None, voice_id: str = "Joanna", sample_rate: int = 24000, params: InputParams = InputParams(), From bb767831d508df1c17b04476dc68ec9fead2f0de Mon Sep 17 00:00:00 2001 From: Joe Garlick Date: Tue, 7 Jan 2025 19:05:02 +0000 Subject: [PATCH 2/2] Added: Changelog entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fc32ae72..511af765e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added `29-livekit-audio-chat.py`, as a new foundational examples for `LiveKitTransportLayer`. +### Changed + +- api_key, aws_access_key_id and region are no longer required parameters for the PollyTTSService (AWSTTSService) + ### Fixed - Fixed an issue where `OpenAIRealtimeBetaLLMService` audio chunks were hitting