Skip to content

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-jobs

Supported operations ​

AreaOperations
Transcription jobsStartTranscriptionJob, GetTranscriptionJob, ListTranscriptionJobs, DeleteTranscriptionJob
Medical jobsStartMedicalTranscriptionJob, GetMedicalTranscriptionJob, ListMedicalTranscriptionJobs, DeleteMedicalTranscriptionJob, StartMedicalScribeJob, GetMedicalScribeJob, ListMedicalScribeJobs, DeleteMedicalScribeJob
Call AnalyticsStartCallAnalyticsJob, GetCallAnalyticsJob, ListCallAnalyticsJobs, DeleteCallAnalyticsJob, Create/Get/Update/Delete/ListCallAnalyticsCategory
VocabulariesCreate/Get/Update/Delete/ListVocabulary, Create/Get/Update/Delete/ListMedicalVocabulary, Create/Get/Update/Delete/ListVocabularyFilter
Language modelsCreateLanguageModel, DescribeLanguageModel, UpdateLanguageModel, DeleteLanguageModel, ListLanguageModels
TagsTagResource, UntagResource, ListTagsForResource

Configuration ​

FlagEnvDefaultPurpose
--transcribe-engineTRANSCRIBE_ENGINEstubstub or docker
--transcribe-engine-imageTRANSCRIBE_ENGINE_IMAGEpinned defaultVosk server image for the Docker engine
--transcribe-model-dirTRANSCRIBE_MODEL_DIRuser cache dirCache 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, ContentRedaction or MedicalContentIdentificationType fail: 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.
  • IdentifyLanguage and IdentifyMultipleLanguages report the first LanguageOptions entry 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. Skipped is never set.
  • Medical and Call Analytics transcripts follow the documented schema, but PHI annotations and the Categories and IssuesDetected sections are not emitted.

In all modes:

  • StartMedicalScribeJob completes at once and reports s3://<OutputBucketName>/<JobName>-transcript.json and -clinical-document.json without writing either object. The clinical document comes from a generative model that cannot be reproduced.
  • OutputEncryptionKMSKeyId on Call Analytics, Medical Scribe and Medical Transcription jobs is not applied.

Parity & Coverage ​

MetricValue
PARITY entries audited44 (44 ok)
Feature families8 (8 ok)
Known gaps6
Structural gaps (can't be emulated)2
Deferred items0
Resource leaksclean

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
OperationWireErrorsStatePersist
StartTranscriptionJobokokokok
GetTranscriptionJobokokokok
ListTranscriptionJobsfixedokokok
DeleteTranscriptionJobokokokok
StartCallAnalyticsJobfixedokfixedok
GetCallAnalyticsJobokokokok
ListCallAnalyticsJobsfixedokokok
DeleteCallAnalyticsJobokokokok
CreateCallAnalyticsCategoryokokokok
GetCallAnalyticsCategoryokokokok
UpdateCallAnalyticsCategoryokokokok
DeleteCallAnalyticsCategoryokokokok
ListCallAnalyticsCategoriesokokokok
CreateLanguageModelokokokok
DeleteLanguageModelokokokok
DescribeLanguageModelokokokok
UpdateLanguageModelokokokok
ListLanguageModelsokokokok
CreateVocabularyokokokok
GetVocabularyokokokok
UpdateVocabularyokokokok
DeleteVocabularyokokokok
ListVocabulariesokokokok
CreateVocabularyFilterokokokok
GetVocabularyFilterokokokok
UpdateVocabularyFilterokokokok
DeleteVocabularyFilterokokokok
ListVocabularyFiltersokokokok
CreateMedicalVocabularyokokokok
GetMedicalVocabularyokokokok
UpdateMedicalVocabularyokokokok
DeleteMedicalVocabularyokokokok
ListMedicalVocabulariesokokokok
StartMedicalScribeJobokokokok
GetMedicalScribeJobokokokok
ListMedicalScribeJobsfixedokokok
DeleteMedicalScribeJobokokokok
StartMedicalTranscriptionJobokokokok
GetMedicalTranscriptionJobokokokok
ListMedicalTranscriptionJobsfixedokokok
DeleteMedicalTranscriptionJobokokokok
TagResourceokokokok
UntagResourceokokokok
ListTagsForResourceokokokok

Audited Feature Families ​

Feature FamilyStatus
vocabulary_get_lastmodifiedok
list_namecontains_filtersok
language_id_settingsok
invented_output_fields_removedok
max_results_honoredok
language_id_settings_validationok
language_code_allowlist_derivedok
filter_value_semanticsok

Released under the MIT License.