Skip to content

feature(asr-worker): expose available ASR models#20

Merged
ClemDoum merged 4 commits into
mainfrom
feature(asr-worker)/expose-models
Apr 17, 2026
Merged

feature(asr-worker): expose available ASR models#20
ClemDoum merged 4 commits into
mainfrom
feature(asr-worker)/expose-models

Conversation

@ClemDoum
Copy link
Copy Markdown
Contributor

@ClemDoum ClemDoum commented Apr 17, 2026

Addresses #12

Description

Expose available ASR models in GH release assets in the following format:

{
  "bg": [
    "parakeet", "some_other_model"
  ],
  "cs": [
    "parakeet"
  ]
}

Where keys are ISO_639-2 codes or IETF language tags

Changes

asr-worker

Added

  • added a ASRModel.supported_languages(self) -> set[ASRLanguage]
  • added ASRLanguage = IETFLanguage | LanguageAlpha2 where IETFLanguage are strings complying with local language codes and LanguageAlpha2 are iso-2 codes

Changed

  • moved VADModel and ASRModel from constants to objects

@ClemDoum ClemDoum self-assigned this Apr 17, 2026
@ClemDoum ClemDoum requested a review from mvanzalu April 17, 2026 09:04
@ClemDoum ClemDoum force-pushed the feature(asr-worker)/expose-models branch from 2e51949 to c3073ef Compare April 17, 2026 09:48
@ClemDoum ClemDoum marked this pull request as ready for review April 17, 2026 09:48
@ClemDoum ClemDoum force-pushed the feature(asr-worker)/expose-models branch from c3073ef to 637ee56 Compare April 17, 2026 09:57
@ClemDoum ClemDoum force-pushed the feature(asr-worker)/expose-models branch from 637ee56 to ea6ebff Compare April 17, 2026 10:00
@ClemDoum ClemDoum merged commit b3c33c7 into main Apr 17, 2026
6 checks passed
@ClemDoum ClemDoum deleted the feature(asr-worker)/expose-models branch April 23, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant