MLS-C01 Question 302
Single answerYou are developing a multilingual customer service chatbot for an e-commerce platform. The chatbot needs to provide dynamic, real-time voice responses in multiple languages. What is the most appropriate way to achieve this using Amazon Polly?
- A
Use Amazon Polly's Neural Text-to-Speech (NTTS) feature to generate high-quality, natural-sounding voices, specifying the language and voice per response.
- B
Deploy Amazon Polly's real-time streaming API, but only use the Standard Text-to-Speech (TTS) feature to minimize costs.
- C
Pre-generate all possible audio responses in all supported languages and store them in Amazon S3 for retrieval during runtime.
- D
Use Amazon Polly to generate audio files offline and integrate the files into your chatbot code to avoid real-time processing.
Show answer and explanation
Correct answer: A
Explanation
Amazon Polly's Neural Text-to-Speech (NTTS) is the best solution for this scenario because it provides high-quality, natural-sounding voices and supports multiple languages. It allows for real-time audio generation, which is critical for a multilingual chatbot that provides dynamic and responsive customer service.
- A. Correct.
Amazon Polly's Neural Text-to-Speech (NTTS) provides high-quality, natural-sounding voices and allows you to specify different languages and voices per response, which is ideal for a multilingual, real-time chatbot.
- B. Incorrect.
While the streaming API is suitable for real-time use, using only the Standard TTS feature sacrifices voice quality, which might not provide the desired customer experience for a chatbot.
- C. Incorrect.
Pre-generating all audio responses in multiple languages would be inefficient for dynamic, real-time responses as it would require anticipating all possible scenarios.
- D. Incorrect.
Generating audio files offline and integrating them into your chatbot code would make the chatbot inflexible and unable to handle real-time dynamic responses effectively.