Skip to content

Implement the Deepgram cloud provider #3

Description

@akdasa

Context

client/internal/provider/deepgram.go is a stub. The Transcriber interface + factory already exist; the parakeet (local ANE) provider is the default.

Goal

Implement a real Deepgram streaming provider as a drop-in Transcriber, selectable via config (provider: deepgram).

Why

  • Sub-second latency vs the local Nemotron 2s tier.
  • Strong Russian + punctuation.
  • Useful as a fallback when mridanga is unreachable.

Details

  • Stream PCM to Deepgram's realtime WS (nova-2, language=ru|en, interim_results=true, encoding=linear16, sample_rate=16000), normalize interim/final → v1.Update (partial/final).
  • Reference implementation: dotfiles features/fluteos/ptt (transcriber.py / connection_manager.py) already does Deepgram streaming.
  • API key from env; never commit it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions