Error API Diarization Speech v3- Azure Cognitives Services

Manuel Jesus Galan Moreu 1 Reputation point
2021-03-02T13:22:33.923+00:00

Hello,

We ask a question because we are having some errors with Diarization API of Microsoft. The url of the web where Microsoft explains that is:

https://westus.dev.cognitive.microsoft.com/docs/services/speech-to-text-api-v3-0/operations/CreateTranscription/console

There, we call to the API 'Create Transcription' with a POST Call. We add the keys from the Speech service in the field 'Ocp-Apim-Subscription-Key' and then, we add the url where the file is in the blob in Azure. When we transcript the file, the result is like that:

{
"self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.0/transcriptions/c7989230-d4fc-488f-86fb-7aa64424c229",
"model": {
"self": "https://westus.api.cognitive.microsoft.com/speechtotext/v3.0/models/4b7d9c8b-be70-41bb-b255-a5b13b5c6bd7"

We use 'c7989230-d4fc-488f-86fb-7aa64424c229' to add in the field 'ID' to call the 'Get Transcription Files' API, but the result is empty.
Output:

Date: Tue, 02 Mar 2021 13:13:05 GMT
Content-Type: application/json; charset=utf-8

{
"values": []
}

What do we need to call the API? Are we doing some wrong?

Thanks!!

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,476 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,518 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 47,676 Reputation points
    2021-03-23T08:50:20.15+00:00

    Hello,

    Sorry we have no response from you. But for this issue, it mostly caused by wrong config:

     {
         "contentUrls": [
           "<URL to an audio file to transcribe>",
         ],
         "properties": {
           "diarizationEnabled": true,
           "wordLevelTimestampsEnabled": true,
           "punctuationMode": "DictatedAndAutomatic",
           "profanityFilterMode": "Masked"
         },
         "locale": "en-US",
         "displayName": "Transcription of file using default model for en-US"
        }
    

    Please make sure your request body is same as above and also your subscription key and endpoint are correct. Let us know if you have other question.

    Regards,
    Yutong

    0 comments No comments