You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lca-main.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
AWSTemplateFormatVersion: "2010-09-09"
16
16
Transform: AWS::Serverless-2016-10-31
17
17
18
-
Description: Amazon Transcribe Live Call Analytics with Agent Assist - LCA (v0.9.0) (SO9072)
18
+
Description: Amazon Transcribe Live Call Analytics with Agent Assist - LCA (v0.9.1) (SO9072)
19
19
20
20
Parameters:
21
21
CallAudioSource:
@@ -1094,7 +1094,7 @@ Resources:
1094
1094
status = cfnresponse.FAILED
1095
1095
reason = f"CustomVocabularyName '{customVocabularyName}' is not valid. When a list is provided, each name in the list must have a valid language code suffix, eg 'MyName_en-US, MyName_es-US'"
1096
1096
if customLanguageModelName:
1097
-
if isCvOrClmListAllowed(customLanguageModelName, callAudioSource, callAudioProcessor):
1097
+
if not isCvOrClmListAllowed(customLanguageModelName, callAudioSource, callAudioProcessor):
1098
1098
status = cfnresponse.FAILED
1099
1099
reason = f"CustomLanguageModelName '{customLanguageModelName}' is not valid for CallAudioSource '{callAudioSource}' and CallAudioProcessor '{callAudioProcessor}' . Multiple values are currently supported only when callAudioSource is either 'Demo Asterisk PBX Server' or 'Amazon Chime SDK Voice Connector (SIPREC)', AND CallAudioProcessor is 'Call Transcriber Lambda'."
1100
1100
elif not isValidCvOrClmName(customLanguageModelName):
0 commit comments