AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 Exam - Question 223


You need to enable speech capabilities for a chatbot.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Answer
Correct Answer: ABC

To enable speech capabilities for a chatbot, three main actions are required. First, create a Speech service to handle the audio input and output of the chatbot. Second, register a Direct Line Speech channel, which allows the chatbot to interact with users through speech. Third, enable WebSockets for the chatbot app to ensure seamless communication between the chatbot and the Direct Line Speech channel.

Discussion

10 comments
Sign in to comment
EltoothOptions: ABC
Jul 20, 2022

A, B and C are correct answers in order shown below. B. Create a Speech service https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#create-a-speech-service-resource A. Enable WebSockets for the chatbot app https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets C. Register a Direct Line Speech channel https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#register-the-direct-line-speech-channel

zellckOptions: ABC
Jun 29, 2023

ABC is the answer. https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#create-a-speech-service-resource https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets You need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel by using web sockets. https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#register-the-direct-line-speech-channel This channel creates a connection between your bot and a client app compiled with the Speech SDK.

PffffffOptions: ABC
Apr 24, 2023

said ChatGPT

PyguyOptions: BCE
Jan 5, 2023

instead of WebSockets you should enable CORS . Cross-Origin Resource Sharing , will allow your bot app to communicate with the Speech service.. Nothing to do websockets here..

AzureJobsTillRetire
Feb 21, 2023

Can you please share your reference? Eltooth has provided link as below. Enable web sockets You need to make a small configuration change so that your bot can communicate with the Direct Line Speech channel by using web sockets. https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets

reigenchimpoOptions: ABC
Jun 13, 2024

ABC is answer. difficult.

marti_tremblay000Options: BCE
Mar 16, 2023

According to ChapGPT, the correct answers are BCE : The three actions that need to be performed to enable speech capabilities for an Azure chatbot are: B. Create a Speech service: A Speech service is needed to process the audio input and output of the chatbot. Azure provides the Speech service that can be created from the Azure portal. C. Register a Direct Line Speech channel: A Direct Line Speech channel needs to be registered in the Azure portal for the chatbot app. The Direct Line Speech channel enables the chatbot to receive audio input and provide audio output to the user. E. Enable CORS for the chatbot app: Cross-Origin Resource Sharing (CORS) needs to be enabled for the chatbot app to allow the browser to access resources from a different domain. This is required when using the Direct Line Speech channel. Therefore, the correct actions are B, C, and E.

rdemontisOptions: ABC
Nov 7, 2023

https://learn.microsoft.com/en-us/azure/ai-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk

evangelistOptions: ABC
Feb 4, 2024

Please do not choose BCE, To enable speech capabilities for a chatbot, the correct actions include: A. Enable WebSockets for the chatbot app: Necessary for the bot to communicate with the Direct Line Speech channel using web sockets. B. Create a Speech service: Required to provide speech-to-text and text-to-speech capabilities for the chatbot. C. Register a Direct Line Speech channel: Essential for connecting the chatbot with the Speech service to enable speech interactions. For detailed steps, you can refer to the official Azure documentation: Tutorial: Voice-enable your bot. https://learn.microsoft.com/en-us/azure/ai-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk#enable-web-sockets

nanaw770Options: ABC
Jun 1, 2024

ABC is justice! Sunshine Ikezaki!

SAMBIT
Jul 15, 2024

Do create some to really get to the answer. A is not a choice. CORS is a must.