Exam AI-102 All QuestionsBrowse all questions from this 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.

    Correct Answer: A, B, C

    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
EltoothOptions: ABC

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

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

said ChatGPT

reigenchimpoOptions: ABC

ABC is answer. difficult.

PyguyOptions: BCE

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

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

SAMBIT

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

nanaw770Options: ABC

ABC is justice! Sunshine Ikezaki!

evangelistOptions: ABC

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

rdemontisOptions: ABC

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

marti_tremblay000Options: BCE

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.