Skip to content

Batch support for the next gen model#106

Open
rakeshv247 wants to merge 15 commits into
speechmatics:mainfrom
rakeshv247:feat-lang-hints
Open

Batch support for the next gen model#106
rakeshv247 wants to merge 15 commits into
speechmatics:mainfrom
rakeshv247:feat-lang-hints

Conversation

@rakeshv247

@rakeshv247 rakeshv247 commented May 4, 2026

Copy link
Copy Markdown

This change adds

  • Support for the new next-gen model melia-1.

  • Support for the language hints feature, which is applicable only for the batch next-gen models. The language_hints info will be a new field in the transcription_config. For example:

    {
        "language": "multi",
        "language_hints": ["en", "es"],
        "language_hints_strict": True
    }
    
  • Support new fields in the metadata.language_pack_info from transcript.json-v2 results.

@rakeshv247 rakeshv247 marked this pull request as ready for review May 5, 2026 04:05
Comment thread sdk/batch/speechmatics/batch/_models.py Outdated
@giorgosHadji

Copy link
Copy Markdown
Contributor

Have you tested this with an actual worker?

Comment thread sdk/batch/speechmatics/batch/_models.py Outdated
Comment thread sdk/batch/speechmatics/batch/_models.py Outdated
Comment thread sdk/batch/speechmatics/batch/_models.py Outdated
Comment thread sdk/batch/speechmatics/batch/_models.py
Comment thread tests/batch/test_models.py
Comment thread tests/batch/test_models.py
Comment thread tests/batch/test_models.py
Comment thread tests/batch/test_models.py
Comment thread tests/batch/test_models.py
@giorgosHadji

Copy link
Copy Markdown
Contributor

LGTM in general

@rakeshv247

rakeshv247 commented May 6, 2026

Copy link
Copy Markdown
Author

Have you tested this with an actual worker?

Tested the changes with omni and non-omni workers in a SaaS dev environment.

Comment thread sdk/batch/speechmatics/batch/_models.py
Comment thread sdk/batch/speechmatics/batch/_models.py Outdated

@J-Jaywalker J-Jaywalker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed, left a couple of minor comments.

@mnemitz mnemitz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Maybe we should wait until melia-1 lands before releasing though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants