Gemini Live to transcribe user audio

This commit is contained in:
Mark Backman
2025-05-16 09:27:05 -04:00
parent 90f27a3090
commit d3942dda52
10 changed files with 57 additions and 153 deletions

View File

@@ -59,7 +59,6 @@ async def run_bot(webrtc_connection: SmallWebRTCConnection, _: argparse.Namespac
llm = GeminiMultimodalLiveLLMService(
api_key=os.getenv("GOOGLE_API_KEY"),
transcribe_user_audio=True,
system_instruction=SYSTEM_INSTRUCTION,
tools=[{"google_search": {}}, {"code_execution": {}}],
params=InputParams(modalities=GeminiMultimodalModalities.TEXT),