Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

feat(transcribe): add --speech_model flag - #124

Open
megatron0000 wants to merge 1 commit into
AssemblyAI:mainfrom
megatron0000:main
Open

feat(transcribe): add --speech_model flag#124
megatron0000 wants to merge 1 commit into
AssemblyAI:mainfrom
megatron0000:main

Conversation

@megatron0000

Copy link
Copy Markdown

Why

There was previously no CLI arg to customize the speech model to be used in the transcription API, so I added it.

## What is changing
It is now possible to do assemblyai transcribe --speech_model=universal ... (where universal is one of the possible speech models supported in the API, see https://www.assemblyai.com/docs/api-reference/transcripts/submit#request.body.speech_model)

How to test

Just run the automated tests, one test was modified to supply speech_model=nano to the API and check that the API response actually contains speech_model: "nano"

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant