Question
You have a Microsoft Foundry project that contains an agent. The agent uses Azure Speech in Foundry Tools.
You fine-tune a baseline speech to text model for the en-us locale and publish the model.
The agent calls the Speech to text REST API and returns an error message indicating that the project ID is invalid.
You need to set the project property to the correct ID.
To what should you set the project property?
- A. the project URL
- B. the custom speech project ID Correct
- C. the project ID
- D. the custom speech endpoint URL
Explanation
When you use the Speech to text REST API for custom speech, the project property must be the ID of the custom speech project. That ID is not the same as the Microsoft Foundry project ID, which is why using the Foundry project ID fails. You can find the correct value in the browser URL after you open the custom model under AI Service fine-tuning. URLs for the project or the endpoint are not IDs, so they are not valid values.