From 2b02d08f4c7f03fba5f18706ec600476935a5c50 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Tue, 6 May 2025 09:26:22 -0400 Subject: [PATCH] [WIP] AWS Nova Sonic service - add comments to examples pointing out the us-east-1 is the only supported region so far --- examples/foundational/20e-persistent-context-aws-nova-sonic.py | 2 +- examples/foundational/39-aws-nova-sonic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/foundational/20e-persistent-context-aws-nova-sonic.py b/examples/foundational/20e-persistent-context-aws-nova-sonic.py index 8a95f54b9..731c69c3a 100644 --- a/examples/foundational/20e-persistent-context-aws-nova-sonic.py +++ b/examples/foundational/20e-persistent-context-aws-nova-sonic.py @@ -185,7 +185,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection): llm = AWSNovaSonicLLMService( secret_access_key=os.getenv("AWS_SECRET_ACCESS_KEY"), access_key_id=os.getenv("AWS_ACCESS_KEY_ID"), - region=os.getenv("AWS_REGION"), + region=os.getenv("AWS_REGION"), # as of 2025-05-06, us-east-1 is the only supported region voice_id="tiffany", # matthew, tiffany, amy # you could choose to pass instruction here rather than via context # system_instruction=system_instruction, diff --git a/examples/foundational/39-aws-nova-sonic.py b/examples/foundational/39-aws-nova-sonic.py index c80626962..a89796ea6 100644 --- a/examples/foundational/39-aws-nova-sonic.py +++ b/examples/foundational/39-aws-nova-sonic.py @@ -99,7 +99,7 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection): llm = AWSNovaSonicLLMService( secret_access_key=os.getenv("AWS_SECRET_ACCESS_KEY"), access_key_id=os.getenv("AWS_ACCESS_KEY_ID"), - region=os.getenv("AWS_REGION"), + region=os.getenv("AWS_REGION"), # as of 2025-05-06, us-east-1 is the only supported region voice_id="tiffany", # matthew, tiffany, amy # you could choose to pass instruction here rather than via context # system_instruction=system_instruction