ChimeSDKMeetings / Client / start_meeting_transcription
start_meeting_transcription#
- ChimeSDKMeetings.Client.start_meeting_transcription(**kwargs)#
Starts transcription for the specified
meetingId
. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.Warning
Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.
See also: AWS API Documentation
Request Syntax
response = client.start_meeting_transcription( MeetingId='string', TranscriptionConfiguration={ 'EngineTranscribeSettings': { 'LanguageCode': 'en-US'|'en-GB'|'es-US'|'fr-CA'|'fr-FR'|'en-AU'|'it-IT'|'de-DE'|'pt-BR'|'ja-JP'|'ko-KR'|'zh-CN', 'VocabularyFilterMethod': 'remove'|'mask'|'tag', 'VocabularyFilterName': 'string', 'VocabularyName': 'string', 'Region': 'us-east-2'|'us-east-1'|'us-west-2'|'ap-northeast-2'|'ap-southeast-2'|'ap-northeast-1'|'ca-central-1'|'eu-central-1'|'eu-west-1'|'eu-west-2'|'sa-east-1'|'auto'|'us-gov-west-1', 'EnablePartialResultsStabilization': True|False, 'PartialResultsStability': 'low'|'medium'|'high', 'ContentIdentificationType': 'PII', 'ContentRedactionType': 'PII', 'PiiEntityTypes': 'string', 'LanguageModelName': 'string', 'IdentifyLanguage': True|False, 'LanguageOptions': 'string', 'PreferredLanguage': 'en-US'|'en-GB'|'es-US'|'fr-CA'|'fr-FR'|'en-AU'|'it-IT'|'de-DE'|'pt-BR'|'ja-JP'|'ko-KR'|'zh-CN' }, 'EngineTranscribeMedicalSettings': { 'LanguageCode': 'en-US', 'Specialty': 'PRIMARYCARE'|'CARDIOLOGY'|'NEUROLOGY'|'ONCOLOGY'|'RADIOLOGY'|'UROLOGY', 'Type': 'CONVERSATION'|'DICTATION', 'VocabularyName': 'string', 'Region': 'us-east-1'|'us-east-2'|'us-west-2'|'ap-southeast-2'|'ca-central-1'|'eu-west-1'|'auto', 'ContentIdentificationType': 'PHI' } } )
- Parameters:
MeetingId (string) –
[REQUIRED]
The unique ID of the meeting being transcribed.
TranscriptionConfiguration (dict) –
[REQUIRED]
The configuration for the current transcription operation. Must contain
EngineTranscribeSettings
orEngineTranscribeMedicalSettings
.EngineTranscribeSettings (dict) –
The transcription configuration settings passed to Amazon Transcribe.
LanguageCode (string) –
The language code specified for the Amazon Transcribe engine.
VocabularyFilterMethod (string) –
The filtering method passed to Amazon Transcribe.
VocabularyFilterName (string) –
The name of the vocabulary filter passed to Amazon Transcribe.
VocabularyName (string) –
The name of the vocabulary passed to Amazon Transcribe.
Region (string) –
The AWS Region passed to Amazon Transcribe. If you don’t specify a Region, Amazon Chime uses the meeting’s Region.
EnablePartialResultsStabilization (boolean) –
Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.
PartialResultsStability (string) –
The stabity level of a partial results transcription. Determines how stable you want the transcription results to be. A higher level means the transcription results are less likely to change.
ContentIdentificationType (string) –
Set this field to
PII
to identify personally identifiable information in the transcription output.ContentRedactionType (string) –
Set this field to
PII
to redact personally identifiable information in the transcription output. Content redaction is performed only upon complete transcription of the audio segments.You can’t set
ContentRedactionType
andContentIdentificationType
in the same request. If you set both, your request returns aBadRequestException
.PiiEntityTypes (string) –
Lists the PII entity types you want to identify or redact. To specify entity types, you must enable
ContentIdentificationType
orContentRedactionType
.PIIEntityTypes
must be comma-separated. The available values are:BANK_ACCOUNT_NUMBER
,BANK_ROUTING, CREDIT_DEBIT_NUMBER
,CREDIT_DEBIT_CVV
,CREDIT_DEBIT_EXPIRY
,PIN
,EMAIL
,ADDRESS
,NAME
,PHONE
,SSN
, andALL
.PiiEntityTypes
is an optional parameter with a default value ofALL
.LanguageModelName (string) –
The name of the language model used during transcription.
IdentifyLanguage (boolean) –
Automatically identifies the language spoken in media files.
LanguageOptions (string) –
Language codes for the languages that you want to identify. You must provide at least 2 codes.
PreferredLanguage (string) –
Language code for the preferred language.
EngineTranscribeMedicalSettings (dict) –
The transcription configuration settings passed to Amazon Transcribe Medical.
LanguageCode (string) – [REQUIRED]
The language code specified for the Amazon Transcribe Medical engine.
Specialty (string) – [REQUIRED]
The specialty specified for the Amazon Transcribe Medical engine.
Type (string) – [REQUIRED]
The type of transcription.
VocabularyName (string) –
The name of the vocabulary passed to Amazon Transcribe Medical.
Region (string) –
The AWS Region passed to Amazon Transcribe Medical. If you don’t specify a Region, Amazon Chime uses the meeting’s Region.
ContentIdentificationType (string) –
Set this field to
PHI
to identify personal health information in the transcription output.
- Returns:
None
Exceptions
ChimeSDKMeetings.Client.exceptions.NotFoundException
ChimeSDKMeetings.Client.exceptions.ForbiddenException
ChimeSDKMeetings.Client.exceptions.BadRequestException
ChimeSDKMeetings.Client.exceptions.UnauthorizedException
ChimeSDKMeetings.Client.exceptions.LimitExceededException
ChimeSDKMeetings.Client.exceptions.UnprocessableEntityException
ChimeSDKMeetings.Client.exceptions.ThrottlingException
ChimeSDKMeetings.Client.exceptions.ServiceUnavailableException
ChimeSDKMeetings.Client.exceptions.ServiceFailureException