Learning Objectives
By the end of this chapter, you will be able to:
- Extract key phrases and entities from text, and integrate Custom Speech with question answering import flows
- Determine sentiment of text, and build intent and keyword recognition with Speech alongside a trained knowledge base
- Detect the language used in text, and orchestrate multi-turn speech translation conversations
- Detect personally identifiable information (PII) in text, and define intents, entities, utterances, alternate phrasing, and chit-chat
- Translate text and documents by using the Translator service, and train, evaluate, deploy, test, and export language understanding artifacts
- Integrate generative AI speaking capabilities in an application, optimize and recover language models, and build multi-language question answering
- Implement text-to-speech and speech-to-text using Speech, consume a language model from a client, and build a custom translation model
- Improve text-to-speech by using Speech Synthesis Markup Language (SSML), and create a custom question answering project
Executive Summary
- The Language service in Foundry surfaces prebuilt skills (key phrase extraction, entity recognition, sentiment, language detection, PII redaction, summarization) through a single endpoint and SDK, while project-based features (CLU, custom NER, custom text classification, custom question answering) share a separate authoring path.
- Speech in Foundry separates real-time, batch, and fast transcription for speech-to-text and pairs them with Neural Voice and Custom Neural Voice for text-to-speech; SSML is the contract layer that controls prosody, pronunciation, and voice switching.
- Custom Translator and Custom Question Answering are project artifacts that move through training, evaluation, deployment, and export stages governed by the same Language resource that hosts CLU.
- Generative speaking capabilities sit on top of the GPT-4o realtime model and the Speech Realtime API, with SSML, Neural Voice selection, and Foundry content safety controls applied at the boundary.
Assumptions
- Foundry account, Language resource, Speech resource, and Translator resource are already provisioned per the patterns established earlier in the course; only feature-specific configuration is shown here.
- All identity-based calls use
DefaultAzureCredentialand Microsoft Entra ID; key auth appears only where the SDK still requiresAzureKeyCredential. - Region naming is generic; deployment region and data zone choices follow the residency framework defined for the Foundry account.
