[WIP] AWS Nova Sonic service - allow passing in tools into initializer

This commit is contained in:
Paul Kompfner
2025-04-30 10:51:06 -04:00
parent 2b7e1cb5b1
commit da5c4953d5
2 changed files with 16 additions and 5 deletions

View File

@@ -97,7 +97,10 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection):
access_key_id=os.getenv("AWS_ACCESS_KEY_ID"),
region=os.getenv("AWS_REGION"),
voice_id="tiffany", # matthew, tiffany, amy
# instruction=system_instruction # you could pass instruction here rather than in context
# you could choose to pass instruction here rather than via context
# instruction=system_instruction
# you could choose to pass tools here rather than via context
# tools=tools
)
# Register function for function calls