Swift SDK feature proposal: configure Deepgram language and model
At 9ff63a63b047ec756b6a4e3d726bac5bf5d6440e, OmiDeepgramTranscriber accepts an API key, sample rate, and transcript callback, but constructs its WebSocket request with fixed language=en-US and model=nova. A Swift SDK caller cannot select a different supported language/model pair without modifying the package. Deepgram documents language selection as a request query option whose supported values depend on the selected model.
I propose one SDK PR adding optional language and model initializer parameters while preserving the existing defaults. URLComponents should continue to encode the values; a request-construction test should cover the defaults and a caller-selected pair without opening a live socket. Update the Swift README with the initializer usage and point callers to Deepgram's supported model/language combinations. This concerns the Swift SDK specifically; Python language configuration is already discussed in #13093.
@josancamon19 — would you sponsor this for US$25, payable through the documented PayPal process after acceptance and merge? The amount is requested, not approved. This is source-inspected scope, not a completed implementation; no Swift build, successful transcription, or repository-preflight pass is claimed. AI-assisted proposal on behalf of @Kgruben0133.
Hi @josancamon19 @kodjima33,
I am ready to implement this feature: adding configurable language and model parameters to OmiDeepgramTranscriber with full backwards compatibility, input validation, and updated README usage documentation.
Following the contribution guide, could you please confirm if this scope qualifies for the proposed US$25 bounty so I can proceed with submitting the pull request?
Thank you!
Implemented and opened PR #13437 with full backwards compatibility, test coverage, and documentation updates.