Chapter 5 of 7 · Microsoft AI-901
Text and Speech Solutions in Foundry
Azure Language text analysis in Python, spoken prompts to a multimodal model, and the Azure Speech SDK.
- 2topics
- 10 minfast track
Topics in this chapter
Take them in order, or jump to the one you need.
- 1Text Analysis ApplicationsAI-901 text analysis app: the Azure Language Python client, endpoint and credential, sentiment, key phrases, entities, summaries…5 min
- 2Spoken Prompts and Azure Speech ApplicationsAI-901 speech apps: sending audio to a multimodal model with input_audio, reading the transcript, and the Azure Speech SDK for…5 min
About this chapter
What this chapter covers
This chapter turns the text and speech ideas from earlier into small Python applications. You will see how to analyse text with the Azure Language client library, how to send a spoken question to a multimodal model, and how to recognise and synthesise speech with the Azure Speech SDK.
As in the previous chapter, the exam checks that you understand the pattern of each application and can read a short code sample.
How the topics fit together
Both pages follow the same four steps.
- Text analysis applications covers the Language client, sentiment, key phrases, entities, summaries and how errors for single documents appear.
- Spoken prompts and Azure Speech applications covers sending audio to a multimodal model, and the Speech SDK for recognition and synthesis.
Each service has its own client class and its own credentials. Learn the class and the one or two properties that give the answer, for example speech_synthesis_voice_name for the voice.
How to use these pages
Each topic page has the same shape, so you can skim for what you need.
- What it is: the idea in plain words.
- How it works: the mechanism, with examples and tables.
- What to remember for the exam: the facts to memorise and how questions are phrased.
- Common mistakes: the classic traps.
- Check yourself: three questions to test your understanding.
Ready for more practice?
The full Microsoft AI-901 question bank has 511 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Microsoft. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.