wide-pager-36831
08/04/2025, 11:11 AMsession = AgentSession(
stt=deepgram.STT(model="nova-3", language="en", interim_results=True, sample_rate=8000, endpointing_ms=1000),
llm=openai.LLM.with_azure(
azure_deployment="gpt-4o",
),
tts=elevenlabs.TTS(
voice_id=eleven_voice_id,
api_key=elevenlabs_api_key,
),
use_tts_aligned_transcript=True,
vad=silero.VAD.load(),
turn_detection=EnglishModel(),
)
await session.start(
agent=agent,
room=ctx.room,
room_input_options=RoomInputOptions(
noise_cancellation=noise_cancellation.BVCTelephony(),
),
)
• Logs from STT_node pipeline only show :
◦ detected start of speech event
◦ detected end of speech event
◦ No interim transcript is generated and there is just silence after that.
◦ The user has to say something like "hello?" to get the response from bot.
• I have also attached a few audio recordings for better understanding for the silence after interruption issue.
• Apart from that sometimes there are STT issues related to name or phone number not being captured properly. Like confusion between A and eight, P and V, etc.
Any help regarding any of the 2 issues is greatly appreciated. Overall, the product is very good, just need to iron out a few things like these.jolly-air-155
08/04/2025, 2:57 PMagent_false_interruption event and make the agent speak again. The event is sent if there is no any user transcript or agent speaking after a interruption, here is an example https://github.com/livekit/agents/blob/livekit-agents%401.2.2/examples/voice_agents/resume_interrupted_agent.py#L35wide-pager-36831
08/04/2025, 3:05 PM