Skip to content

Commit 1153fa4

Browse files
committed
acrolinx
1 parent 1ce6768 commit 1153fa4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ zone_pivot_groups: programming-languages-speech-services-nomore-variant
1515

1616
# How to log audio and transcriptions for speech recognition
1717

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.
1919

2020
Audio and transcription logs can be used as input for [Custom Speech](custom-speech-overview.md) training. You might have other use cases.
2121

@@ -147,7 +147,7 @@ Use the speech configuration with each [SpeechRecognizer](/objectivec/cognitive-
147147
148148
#### Enable logging for speech translation with the Speech SDK
149149
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.
151151
152152
::: zone pivot="programming-language-csharp"
153153
@@ -276,7 +276,7 @@ When logging is enabled (turned on) for a custom model endpoint, then you don't
276276
277277
You can enable audio and transcription logging for a custom model endpoint:
278278
- 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.
280280

281281
## Turn off logging for a custom model endpoint
282282

@@ -328,7 +328,7 @@ You should receive a response body in the following format:
328328
}
329329
```
330330

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`).
332332

333333
## Get audio and transcription logs
334334

@@ -348,7 +348,7 @@ To download the endpoint logs:
348348
1. Select the link by endpoint name.
349349
1. Under **Content logging**, select **Download log**.
350350

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.
352352

353353
### Get audio and transcription logs with Speech-to-text REST API
354354

@@ -410,7 +410,7 @@ Log ID for each log file is the last part of the URL in `"self"` element value.
410410

411411
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.
412412

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.
414414

415415
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.
416416

@@ -421,7 +421,7 @@ To delete all logs or logs for a given time frame:
421421
- 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).
422422
- 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).
423423

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.
425425

426426
### Delete specific log
427427

0 commit comments

Comments
 (0)