Skip to content

Commit 45c53ec

Browse files
committed
fix links add details
1 parent 9db75f4 commit 45c53ec

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

articles/cognitive-services/Speech-Service/logging-audio-transcription.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ To check whether logging is enabled, get the value of the `SpeechServiceConnecti
163163
string isAudioLoggingEnabled = speechTranslationConfig.GetProperty(PropertyId.SpeechServiceConnection_EnableAudioLogging);
164164
```
165165

166-
Use the speech translation configuration with each [TranslationRecognizer](/dotnet/api/microsoft.cognitiveservices.speech.translationrecognizer) when you want logging.
166+
Use the speech translation configuration with each [TranslationRecognizer](/dotnet/api/microsoft.cognitiveservices.speech.translation.translationrecognizer) when you want logging.
167167

168168
::: zone-end
169169
::: zone pivot="programming-language-cpp"
170170

171-
To enable audio and transcription logging with the Speech SDK, you execute the method `EnableAudioLogging` of the [SpeechTranslationConfig](/cpp/cognitive-services/speech/speechtranslationconfig) class.
171+
To enable audio and transcription logging with the Speech SDK, you execute the method `EnableAudioLogging` of the [SpeechTranslationConfig](/cpp/cognitive-services/speech/translation-speechtranslationconfig) class.
172172

173173
```cpp
174174
speechTranslationConfig->EnableAudioLogging();
@@ -180,12 +180,12 @@ To check whether logging is enabled, get the value of the `SpeechServiceConnecti
180180
string isAudioLoggingEnabled = speechTranslationConfig->GetProperty(PropertyId::SpeechServiceConnection_EnableAudioLogging);
181181
```
182182
183-
Use the speech translation configuration with each [TranslationRecognizer](/cpp/cognitive-services/speech/translationrecognizer) when you want logging.
183+
Use the speech translation configuration with each [TranslationRecognizer](/cpp/cognitive-services/speech/translation-translationrecognizer) when you want logging.
184184
185185
::: zone-end
186186
::: zone pivot="programming-language-java"
187187
188-
To enable audio and transcription logging with the Speech SDK, you execute the method `enableAudioLogging()` of the [SpeechTranslationConfig](/java/api/com.microsoft.cognitiveservices.speech.speechtranslationconfig) class.
188+
To enable audio and transcription logging with the Speech SDK, you execute the method `enableAudioLogging()` of the [SpeechTranslationConfig](/java/api/com.microsoft.cognitiveservices.speech.translation.speechtranslationconfig) class.
189189
190190
```java
191191
speechTranslationConfig.enableAudioLogging();
@@ -197,7 +197,7 @@ To check whether logging is enabled, get the value of the `SpeechServiceConnecti
197197
String isAudioLoggingEnabled = speechTranslationConfig.getProperty(PropertyId.SpeechServiceConnection_EnableAudioLogging);
198198
```
199199

200-
Use the speech translation configuration with each [TranslationRecognizer](/java/api/com.microsoft.cognitiveservices.speech.translationrecognizer) when you want logging.
200+
Use the speech translation configuration with each [TranslationRecognizer](/java/api/com.microsoft.cognitiveservices.speech.translation.translationrecognizer) when you want logging.
201201

202202
::: zone-end
203203
::: zone pivot="programming-language-javascript"
@@ -222,7 +222,7 @@ Use the speech translation configuration with each [TranslationRecognizer](/java
222222
::: zone-end
223223
::: zone pivot="programming-language-python"
224224

225-
To enable audio and transcription logging with the Speech SDK, you execute the method `enable_audio_logging` of the [SpeechTranslationConfig](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechtranslationconfig) class.
225+
To enable audio and transcription logging with the Speech SDK, you execute the method `enable_audio_logging` of the [SpeechTranslationConfig](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.translation.speechtranslationconfig) class.
226226

227227
```python
228228
speech_translation_config.enable_audio_logging()
@@ -236,7 +236,7 @@ import azure.cognitiveservices.speech as speechsdk
236236
is_audio_logging_enabled = speech_translation_config.get_property(property_id=speechsdk.PropertyId.SpeechServiceConnection_EnableAudioLogging)
237237
```
238238

239-
Use the speech translation configuration with each [TranslationRecognizer](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.translationrecognizer) when you want logging.
239+
Use the speech translation configuration with each [TranslationRecognizer](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.translation.translationrecognizer) when you want logging.
240240

241241
::: zone-end
242242
::: zone pivot="programming-language-objectivec"
@@ -275,9 +275,8 @@ When logging is enabled (turned on) for a custom model endpoint, then you don't
275275
> For custom model endpoints, the logging setting of your deployed endpoint is prioritized over your application-level setting. If logging is enabled for the custom model endpoint, the application-level setting (whether it's set to true or false) is ignored. If logging isn't enabled for the custom model endpoint, the application-level setting determines whether logging is active.
276276
277277
You can enable audio and transcription logging for a custom model endpoint:
278-
- When you create the endpoint using the Speech Studio, REST API, or Speech CLI. For details about how to enable logging for a Custom Speech endpoint, see [Deploy a Custom Speech model](how-to-custom-speech-deploy-model.md&pivots=speech-studio#add-a-deployment-endpoint).
279-
- When you update the endpoint ([Endpoints_Update](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_Update)) using the [Speech-to-text REST API](rest-speech-to-text.md).
280-
278+
- When you create the endpoint using the Speech Studio, REST API, or Speech CLI. For details about how to enable logging for a Custom Speech endpoint, see [Deploy a Custom Speech model](how-to-custom-speech-deploy-model.md#add-a-deployment-endpoint).
279+
- When you update the endpoint ([Endpoints_Update](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_Update)) using the [Speech-to-text REST API](rest-speech-to-text.md). For an example of how to update the logging setting for an endpoint, see [Turn off logging for a custom model endpoint](#turn-off-logging-for-a-custom-model-endpoint). Instead of setting the `contentLoggingEnabled` property to `true`, set it to `false` to disable logging for the endpoint.
281280

282281
## Turn off logging for a custom model endpoint
283282

@@ -333,7 +332,7 @@ The response body should reflect the new setting. Note that the name of the logg
333332

334333
## Get audio and transcription logs
335334

336-
You can access audio and transcription logs using [Speech-to-text REST API](rest-speech-to-text.md). For [custom model](how-to-custom-speech-deploy-model.md) endpoints, you can also use [Speech Studio](https://speech.microsoft.com/). See details in the following sections.
335+
You can access audio and transcription logs using [Speech-to-text REST API](#get-audio-and-transcription-logs-with-speech-to-text-rest-api). For [custom model](how-to-custom-speech-deploy-model.md) endpoints, you can also use [Speech Studio](#get-audio-and-transcription-logs-with-speech-studio). See details in the following sections.
337336

338337
> [!NOTE]
339338
> Logging data is kept for 30 days. After this period the logs are automatically deleted. However you can [delete](#delete-audio-and-transcription-logs) specific logs or a range of available logs at any time.
@@ -353,15 +352,17 @@ With this approach you can download all available log sets at once. There is no
353352

354353
### Get audio and transcription logs with Speech-to-text REST API
355354

356-
This method is applicable for base and [custom model](how-to-custom-speech-deploy-model.md) endpoints.
357-
358-
To list and download audio and transcription logs, you need to use [Endpoints_ListBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListBaseModelLogs) (for based model endpoint) or [Endpoints_ListLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListLogs) (for custom model endpoints) request of the [Speech-to-text REST API](rest-speech-to-text.md).
355+
You can download all or a subset of available log sets.
359356

360-
This method allows you to download all available or selected log sets.
357+
This method is applicable for base and [custom model](how-to-custom-speech-deploy-model.md) endpoints. To list and download audio and transcription logs:
358+
- Base models: Use the [Endpoints_ListBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListBaseModelLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md). This operation gets the list of audio and transcription logs that have been stored when using the default base model of a given language.
359+
- Custom model endpoints: Use the [Endpoints_ListLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md). This operation gets the list of audio and transcription logs that have been stored for a given endpoint.
361360

362361
### Get log IDs with Speech-to-text REST API
363362

364-
To get Log IDs of the available logs, use [Endpoints_ListBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListBaseModelLogs) (for base model endpoint) or [Endpoints_ListLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListLogs) (for custom model endpoints) request of the [Speech-to-text REST API](rest-speech-to-text.md).
363+
To get IDs of the available logs:
364+
- Base models: Use the [Endpoints_ListBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListBaseModelLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md). This operation gets the list of audio and transcription logs that have been stored when using the default base model of a given language.
365+
- Custom model endpoints: Use the [Endpoints_ListLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md). This operation gets the list of audio and transcription logs that have been stored for a given endpoint.
365366

366367
Here's a sample output of [Endpoints_ListLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_ListLogs). For simplicity, only one log set is shown:
367368

0 commit comments

Comments
 (0)