Speech authoring

Completed

Within Microsoft Copilot Studio, Copilot makers can use Speech Synthesis Markup Language (SSML) tags in Message and Question nodes so that they can extend the behavior when they're using Microsoft Copilot Studio for speech-enabled Copilots. You can use Microsoft Copilot Studio for text authoring and speech authoring. By default, on voice-enabled channels, the message text that's entered in the message node will be used for text display and voice. You can override this behavior by providing different behavior for text and speech. For example, you'd override the behavior when you want to provide more emphasis on certain areas of a sentence or on an image message because you want to provide an alternative description that can be read aloud.

For more information, see Speech Synthesis Markup Language.

In the following task, you'll learn about the options for adding SSML within a message node. Though you'll follow the steps to add SSML, you won't test or show the Copilot by using voice at this time.

Task: Become familiar with adding SSML

Follow these steps to become familiar with the process of adding Speech Synthesis Markup Language (SSML) tags within a Message node.

  1. Within your topic, create a new Message node and add a line of text like Hello world.

  2. On the message, select the Text dropdown menu and then select Speech, as shown in the following screenshot.

    Screenshot of switching from text to speech responses.

  3. A message will appear, as shown in the following screenshot. Select Add to add a new Message variation, as you've done previously. Add what you would want the Copilot to say, and then add multiple message variations for speech in the same way that you'd add them for text.

    Screenshot of a message variation.

  4. When using SSML, you can set up how the text will be converted to synthesized speech to ensure that it sounds like natural speech. You can use SSML tags like Audio, Break, Emphasis, and Prosody, to change the behavior of how your sentence is spoken. In this lab, you won't create a speech-enabled Copilot; you're only reviewing the available options, as follows. Delete this message before continuing forward.

    Screenshot of tags that you can add to a message response.

    • Audio - Add prerecorded audio.

    • Break - Insert pauses or breaks between words.

    • Emphasis - Add levels of stress to words and phrases.

    • Prosody - Specify changes to pitch, contour, range, rate, and volume.

Tip

The preceding options automatically add SSML; however, Microsoft Copilot Studio supports any SSML that Microsoft speech service supports.

Congratulations, you've completed the exercise to cover extended functionality that's now available within the web authoring canvas for Microsoft Copilot Studio. The following section is recommended, but optional.