Transcribe
Parity grade: A · SDK aws-sdk-go-v2/service/transcribe@v1.66.4 · last audited 2026-10-07 (7480cad08)
Category: Machine Learning · View PARITY.md on GitHub · All Services
In-memory Transcribe: transcription jobs, medical and call analytics jobs, vocabularies, vocabulary filters and language models. By default jobs finish with a valid but empty transcript. With the Docker engine a Vosk speech model transcribes the media.
Quick start
bash
export AWS_ENDPOINT_URL=http://localhost:8000
aws transcribe start-transcription-job --transcription-job-name my-job \
--language-code en-US --media-format mp3 \
--media '{"MediaFileUri":"s3://my-bucket/audio.mp3"}'
aws transcribe get-transcription-job --transcription-job-name my-job
aws transcribe list-transcription-jobsSupported operations
| Area | Operations |
|---|---|
| Transcription jobs | StartTranscriptionJob, GetTranscriptionJob, ListTranscriptionJobs, DeleteTranscriptionJob |
| Medical jobs | StartMedicalTranscriptionJob, GetMedicalTranscriptionJob, ListMedicalTranscriptionJobs, DeleteMedicalTranscriptionJob, StartMedicalScribeJob, GetMedicalScribeJob, ListMedicalScribeJobs, DeleteMedicalScribeJob |
| Call Analytics | StartCallAnalyticsJob, GetCallAnalyticsJob, ListCallAnalyticsJobs, DeleteCallAnalyticsJob, Create/Get/Update/Delete/ListCallAnalyticsCategory |
| Vocabularies | Create/Get/Update/Delete/ListVocabulary, Create/Get/Update/Delete/ListMedicalVocabulary, Create/Get/Update/Delete/ListVocabularyFilter |
| Language models | CreateLanguageModel, DescribeLanguageModel, UpdateLanguageModel, DeleteLanguageModel, ListLanguageModels |
| Tags | TagResource, UntagResource, ListTagsForResource |
Configuration
| Flag | Env | Default | Purpose |
|---|---|---|---|
--transcribe-engine | TRANSCRIBE_ENGINE | stub | stub or docker |
--transcribe-engine-image | TRANSCRIBE_ENGINE_IMAGE | pinned default | Vosk server image for the Docker engine |
--transcribe-model-dir | TRANSCRIBE_MODEL_DIR | user cache dir | Cache for downloaded Vosk models |
Differences from AWS
WARNING
In stub mode no audio is processed and every transcript is empty.
With the Docker engine:
- Jobs with
ShowSpeakerLabels,ContentRedactionorMedicalContentIdentificationTypefail: Vosk has no diarization or PII detection. - Custom vocabularies and custom language models are not applied to recognition. Vocabulary filters (mask, remove, tag) are applied to the transcript.
IdentifyLanguageandIdentifyMultipleLanguagesreport the firstLanguageOptionsentry with a fixed score.- MP4/M4A (AAC), AMR, WebM and Ogg Opus cannot be decoded. Those jobs fail.
- Decoded audio is capped at 64 MiB of 16 kHz 16-bit PCM across all channels (about 33 minutes mono). Longer jobs fail with
Invalid file size: file size too large, where AWS accepts up to 4 hours. - Call Analytics sentiment, loudness, talk time, categories and summaries are not produced.
Skippedis never set. - Medical and Call Analytics transcripts follow the documented schema, but PHI annotations and the
CategoriesandIssuesDetectedsections are not emitted.
In all modes:
StartMedicalScribeJobcompletes at once and reportss3://<OutputBucketName>/<JobName>-transcript.jsonand-clinical-document.jsonwithout writing either object. The clinical document comes from a generative model that cannot be reproduced.OutputEncryptionKMSKeyIdon Call Analytics, Medical Scribe and Medical Transcription jobs is not applied.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 44 (44 ok) |
| Feature families | 8 (8 ok) |
| Known gaps | 6 |
| Structural gaps (can't be emulated) | 2 |
| Deferred items | 0 |
| Resource leaks | clean |
Known Gaps
- StartMedicalScribeJob completes at once and reports s3://<OutputBucketName>/<JobName>-transcript.json and -clinical-document.json without writing either object. Blockers: the clinical document is generated by AWS HealthScribe's generative model and cannot be reproduced; API_MedicalScribeOutput.html makes both URIs required and documents neither the object keys nor the transcript schema (handler_medical_scribe.go buildMedicalScribeOutputLocations, medical_scribe.go StartMedicalScribeJob)
- Under the docker engine, ShowSpeakerLabels, ContentRedaction and MedicalContentIdentificationType jobs FAIL (the Vosk server exposes no diarization or PII detection, engine_vosk.go; pipeline.go recognize); custom vocabularies and custom language models are not applied to recognition (no Vosk hotword or model-adaptation API). Vocabulary filters (mask, remove, tag) are applied to transcription and call analytics words.
- IdentifyLanguage/IdentifyMultipleLanguages report the first LanguageOptions entry with a fixed IdentifiedLanguageScore; the Vosk server has no language identification (transcription_jobs.go syntheticIdentifiedLanguageScore)
- Docker engine cannot decode MP4/M4A (AAC), AMR, WebM or Ogg Opus: no maintained pure-Go decoder is in go.mod (pipeline.go recognize fails those jobs). Call Analytics sentiment, loudness, talk-time, categories and summaries are not produced.
- Emulator limit: the docker engine takes one PCM buffer per channel, so decoded audio is capped at 64 MiB of 16 kHz 16-bit PCM across all channels (about 33 minutes mono, 16 minutes per channel for two channels); longer jobs fail with "Invalid file size: file size too large" although AWS accepts up to 4 hours (audio_decode.go maxDecodedBytes). The media object is still read whole, up to the 2 GB limit, before decoding.
- Medical transcript and Call Analytics JSON follow the batch schema and the documented post-call field names respectively; PHI entity annotations and the Categories/IssuesDetected sections are not emitted (unverified against a live AWS document).
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- CallAnalyticsJobDetails.Skipped: skipped features (insufficient conversation content, safety guidelines) come from analysing real audio; the emulator evaluates none of the Call Analytics features.
- OutputEncryptionKMSKeyId on StartCallAnalyticsJob, StartMedicalScribeJob and StartMedicalTranscriptionJob: no response type echoes the key and no S3/KMS output pipeline exists to encrypt with it.
Audited Operations
44 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
StartTranscriptionJob | ok | ok | ok | ok |
GetTranscriptionJob | ok | ok | ok | ok |
ListTranscriptionJobs | fixed | ok | ok | ok |
DeleteTranscriptionJob | ok | ok | ok | ok |
StartCallAnalyticsJob | fixed | ok | fixed | ok |
GetCallAnalyticsJob | ok | ok | ok | ok |
ListCallAnalyticsJobs | fixed | ok | ok | ok |
DeleteCallAnalyticsJob | ok | ok | ok | ok |
CreateCallAnalyticsCategory | ok | ok | ok | ok |
GetCallAnalyticsCategory | ok | ok | ok | ok |
UpdateCallAnalyticsCategory | ok | ok | ok | ok |
DeleteCallAnalyticsCategory | ok | ok | ok | ok |
ListCallAnalyticsCategories | ok | ok | ok | ok |
CreateLanguageModel | ok | ok | ok | ok |
DeleteLanguageModel | ok | ok | ok | ok |
DescribeLanguageModel | ok | ok | ok | ok |
UpdateLanguageModel | ok | ok | ok | ok |
ListLanguageModels | ok | ok | ok | ok |
CreateVocabulary | ok | ok | ok | ok |
GetVocabulary | ok | ok | ok | ok |
UpdateVocabulary | ok | ok | ok | ok |
DeleteVocabulary | ok | ok | ok | ok |
ListVocabularies | ok | ok | ok | ok |
CreateVocabularyFilter | ok | ok | ok | ok |
GetVocabularyFilter | ok | ok | ok | ok |
UpdateVocabularyFilter | ok | ok | ok | ok |
DeleteVocabularyFilter | ok | ok | ok | ok |
ListVocabularyFilters | ok | ok | ok | ok |
CreateMedicalVocabulary | ok | ok | ok | ok |
GetMedicalVocabulary | ok | ok | ok | ok |
UpdateMedicalVocabulary | ok | ok | ok | ok |
DeleteMedicalVocabulary | ok | ok | ok | ok |
ListMedicalVocabularies | ok | ok | ok | ok |
StartMedicalScribeJob | ok | ok | ok | ok |
GetMedicalScribeJob | ok | ok | ok | ok |
ListMedicalScribeJobs | fixed | ok | ok | ok |
DeleteMedicalScribeJob | ok | ok | ok | ok |
StartMedicalTranscriptionJob | ok | ok | ok | ok |
GetMedicalTranscriptionJob | ok | ok | ok | ok |
ListMedicalTranscriptionJobs | fixed | ok | ok | ok |
DeleteMedicalTranscriptionJob | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
vocabulary_get_lastmodified | ok |
list_namecontains_filters | ok |
language_id_settings | ok |
invented_output_fields_removed | ok |
max_results_honored | ok |
language_id_settings_validation | ok |
language_code_allowlist_derived | ok |
filter_value_semantics | ok |
