Exam AI-102 All QuestionsBrowse all questions from this exam
Question 163

HOTSPOT

-

You are developing a streaming Speech to Text solution that will use the Speech SDK and MP3 encoding.

You need to develop a method to convert speech to text for streaming MP3 data.

How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

    Correct Answer:

Discussion
evangelist

first one has to configure the format as MP3, so "AudioStreamFormat" option is chosen. Second, since it is speech to text, the SpeechRecognition option is needed. The answer is CORRECT

SCyrus

Answer correct https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/python/console/speech_sample.py

NagaoShingo

1. AudioStreamFormat 2. SpeechRecognizer

takaimomoGcup

audio_format = speechsdk.audio.AudioStreamFormat(compressed_stream_format=speechsdk.AudioStreamContainerFormat.MP3) recognizer = speechsdk.SpeechRecognizer(speech_config, audio_config)

rdemontis

correct

krzkrzkra

1. AudioStreamFormat 2. SpeechRecognizer

JacobZ

Same as question 18 in topic 1

omankoman

AudioStreamFormat SpeechRecognizer

hkbnjos

this question is same as Topic 1 Q18 but with different answer, which is correct?

Mehe323

The answers are the same. Both chosen are AudioStreamFormat and SpeechRecognizer, but in question 18 there is an additional method for AudioStreamFormat (GetCompressedFormat).