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
# How to log audio and transcriptions for speech recognition
17
17
18
-
You can enable logging for both audio input and recognized speech when using [speech-to-text](get-started-speech-to-text.md) or [speech translation](get-started-speech-to-text.md). For speech translation, only the audio and transcription of the original audio will be logged. The translations are not logged. This article describes how to enable, access and delete the audio and transcription logs.
18
+
You can enable logging for both audio input and recognized speech when using [speech-to-text](get-started-speech-to-text.md) or [speech translation](get-started-speech-to-text.md). For speech translation, only the audio and transcription of the original audio will be logged. The translations aren't logged. This article describes how to enable, access and delete the audio and transcription logs.
19
19
20
20
Audio and transcription logs can be used as input for [Custom Speech](custom-speech-overview.md) training. You might have other use cases.
21
21
@@ -147,7 +147,7 @@ Use the speech configuration with each [SpeechRecognizer](/objectivec/cognitive-
147
147
148
148
#### Enable logging for speech translation with the Speech SDK
149
149
150
-
For speech translation, only the audio and transcription of the original audio will be logged. The translations are not logged.
150
+
For speech translation, only the audio and transcription of the original audio will be logged. The translations aren't logged.
151
151
152
152
::: zone pivot="programming-language-csharp"
153
153
@@ -276,7 +276,7 @@ When logging is enabled (turned on) for a custom model endpoint, then you don't
276
276
277
277
You can enable audio and transcription logging for a custom model endpoint:
278
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.
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). But instead of setting the `contentLoggingEnabled` property to `true`, set it to `false` to disable logging for the endpoint.
280
280
281
281
## Turn off logging for a custom model endpoint
282
282
@@ -328,7 +328,7 @@ You should receive a response body in the following format:
328
328
}
329
329
```
330
330
331
-
The response body should reflect the new setting. Note that the name of the logging property in the response (`loggingEnabled`) is different from the name of the logging property that you set in the request (`contentLoggingEnabled`).
331
+
The response body should reflect the new setting. The name of the logging property in the response (`loggingEnabled`) is different from the name of the logging property that you set in the request (`contentLoggingEnabled`).
332
332
333
333
## Get audio and transcription logs
334
334
@@ -348,7 +348,7 @@ To download the endpoint logs:
348
348
1. Select the link by endpoint name.
349
349
1. Under **Content logging**, select **Download log**.
350
350
351
-
With this approach you can download all available log sets at once. There is no way to download selected log sets in Speech Studio.
351
+
With this approach you can download all available log sets at once. There's no way to download selected log sets in Speech Studio.
352
352
353
353
### Get audio and transcription logs with Speech-to-text REST API
354
354
@@ -410,7 +410,7 @@ Log ID for each log file is the last part of the URL in `"self"` element value.
410
410
411
411
Logging data is kept for 30 days. After this period, the logs are automatically deleted. However you can delete specific logs or a range of available logs at any time.
412
412
413
-
For any base or [custom model](how-to-custom-speech-deploy-model.md) endpoint you can delete all available logs, logs for a given time frame, or a particular log based on its Log ID. The deletion process is done asynchronously and can take up to one day depending on the amount of log files.
413
+
For any base or [custom model](how-to-custom-speech-deploy-model.md) endpoint you can delete all available logs, logs for a given time frame, or a particular log based on its Log ID. The deletion process is done asynchronously and can take up to one day depending on the number of log files.
414
414
415
415
To delete audio and transcription logs you must use the [Speech-to-text REST API](rest-speech-to-text.md). There isn't a way to delete logs using the Speech Studio.
416
416
@@ -421,7 +421,7 @@ To delete all logs or logs for a given time frame:
421
421
- Base models: Use the [Endpoints_DeleteBaseModelLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteBaseModelLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
422
422
- Custom model endpoints: Use the [Endpoints_DeleteLogs](https://eastus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-1/operations/Endpoints_DeleteLogs) operation of the [Speech-to-text REST API](rest-speech-to-text.md).
423
423
424
-
Optionally, set the `endDate` of the audio logs deletion (specific day, UTC). Expected format: "yyyy-mm-dd". For instance, "2023-03-15" results in deleting all logs on March 15th, 2023 and before.
424
+
Optionally, set the `endDate` of the audio logs deletion (specific day, UTC). Expected format: "yyyy-mm-dd". For instance, "2023-03-15" results in deleting all logs on March 15, 2023 and before.
0 commit comments