QuestionQ7

VerifiedImplement generative AI and agentic solutions

You have a Microsoft Foundry project that contains an agent, and the agent uses Azure Speech in Foundry Tools.

You fine-tune a baseline speech-to-text model for the en-US locale and publish it.

When the agent calls the Speech to text REST API, it returns an error indicating that the project ID is invalid.

You need to set the project property to the correct value.

What should you set the project property to?

Explanation

When you call the Speech to text REST API for custom speech, you set the project property to the ID of your custom speech project — the GUID that appears in the fine-tuning URL in the Microsoft Foundry portal (for example, 00001111-aaaa-2222-bbbb-3333cccc4444). Microsoft's documentation explicitly warns that this custom speech project ID is NOT the same as the Microsoft Foundry project ID, so supplying the generic "project ID" (the Foundry project ID) is what produces the "project ID is invalid" error described, and you must use the custom speech project ID instead. The project URL and the custom speech endpoint URL are self/reference links returned in API responses rather than the value you assign to the project property, so neither the project URL nor the endpoint URL is correct.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!