How to add a custom id for a single audio file in a speech to text batch process?

Sidharth Ajul 20 Reputation points
2025-01-29T09:09:18.1866667+00:00

Hi, i am processing multiple audio files using azure speech to text batch process using contentUrls, So i have lets have 5 public urls, and when i get the result of these 5 i get it as "contenturl_0.json", "contenturl_1.json",2,3,4. This does not let me identify which file is which, and i have to open the result contentUrl and check the source field to understand which file it is. I can also find the source url in the transcription report, but again it cannot be mapped to the result contentUrl. So i wanted to know if theres a way for me to add a custom id for each url i pass, or can i change the value that appears in the "name" field to something unique that i can set other than "contenturl_0.json"

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,887 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 28,221 Reputation points
    2025-01-29T10:45:38.9533333+00:00

    It is either you do it manually as you need to open each result file to check the source field. (I know it is hard to manage in this way).

    Or you need to process each audio file separately : 1 file = 1 batch transcription job

    and you can assign a unique display name to each job.

    Links to hep you :

    https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-transcription-create

    https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-transcription-get


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.