vocodedev / vocode-core

🤖 Build voice-based LLM agents. Modular + open source.
https://vocode.dev
MIT License
2.73k stars 459 forks source link

Deepgram language parameter does not work #28

Closed ajar98 closed 1 year ago

ajar98 commented 1 year ago

reports from Discord about our Deepgram integration not working with Dutch / Swedish - need to figure this out in our Deepgram account

lefant commented 1 year ago

Hi! I was the one to report trouble with transcribing swedish on discord.

Running the streaming_conversation.py example locally after upgrading vocode (0.1.81 -> 0.1.82) and then setting language="sv" as part of the DeepgramTranscriberConfig like

    conversation = StreamingConversation(
        output_device=speaker_output,
        transcriber=DeepgramTranscriber(
            DeepgramTranscriberConfig.from_input_device(
                microphone_input, endpointing_config=PunctuationEndpointingConfig(), language='sv'
            )
        ),
...

seems to allow swedish to be transcribed correctly.

ajar98 commented 1 year ago

This now works with our hosted API (api.vocode.dev)!