agents icon indicating copy to clipboard operation
agents copied to clipboard

Agent can not submit message when using google stt in Japanese

Open xubujie opened this issue 7 months ago • 0 comments

Issue

When using google STT, and set anguages=["en-US"], everything works just fine. But when set languages to ["ja-JP"], when test in playground, it just listen user speech forever,

Code

assistant = VoiceAssistant(
        vad=silero.VAD(),  # Voice Activity Detection
        stt=google.STT(
            languages=["ja-JP"],
        ),  # Speech-to-Text
        # stt=openai_stt,
        llm=gpt,  # Language Model
        tts=openai_tts,
        chat_ctx=initial_ctx,  # Chat history context
        debug=True,
        allow_interruptions=False,
    )

Dependency

OS: macOS

packages: livekit = "^0.11.1" livekit-agents = "^0.7.2" livekit-plugins-deepgram = "^0.5.1" livekit-plugins-openai = "^0.6.0" livekit-plugins-elevenlabs = "^0.6.0" livekit-plugins-silero = "^0.5.1" livekit-plugins-google = "^0.5.1"

xubujie avatar Jun 26 '24 11:06 xubujie