Skip to content

Commit 68a4092

Browse files
authored
Update real-time-transcription-python.md
1 parent 94f2c76 commit 68a4092

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/communication-services/how-tos/call-automation/includes/real-time-transcription-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ transcription_options = TranscriptionOptions(
2121
locale="en-US",
2222
start_transcription=False,
2323
#Only add the SpeechRecognitionModelEndpointId if you have a custom speech model you would like to use
24-
SpeechRecognitionModelEndpointId = "YourCustomSpeechRecognitionModelEndpointId"
24+
speech_recognition_model_endpoint_id = "YourCustomSpeechRecognitionModelEndpointId"
2525
);
2626
)
2727

@@ -44,7 +44,7 @@ transcription_options = TranscriptionOptions(
4444
locale="en-US",
4545
start_transcription=False,
4646
#Only add the SpeechRecognitionModelEndpointId if you have a custom speech model you would like to use
47-
SpeechRecognitionModelEndpointId = "YourCustomSpeechRecognitionModelEndpointId"
47+
speech_recognition_model_endpoint_id = "YourCustomSpeechRecognitionModelEndpointId"
4848
)
4949

5050
connect_result = client.connect_call(
@@ -175,7 +175,7 @@ await call_automation_client.get_call_connection(
175175
operation_context="UpdateTranscriptionContext",
176176
locale="en-au",
177177
#Only add the SpeechRecognitionModelEndpointId if you have a custom speech model you would like to use
178-
SpeechRecognitionModelEndpointId = "YourCustomSpeechRecognitionModelEndpointId"
178+
speech_recognition_model_endpoint_id = "YourCustomSpeechRecognitionModelEndpointId"
179179
)
180180
```
181181

0 commit comments

Comments
 (0)