Amazon Lex is the AWS service purpose-built for creating conversational interfaces and chatbots that interact with users through text or speech.
AWS defines Amazon Lex V2 as “an AWS service for building conversational interfaces for applications using voice and text.” It provides natural language understanding (NLU) and automatic speech recognition (ASR), enabling developers to create conversational applications without needing to implement the underlying speech-recognition and language-understanding models themselves.
A typical Amazon Lex application defines intents, utterances, slots, prompts, and conversational flows. Lex identifies what the user is attempting to accomplish, collects required information, manages dialogue state, and can integrate with backend systems through services such as AWS Lambda. It can therefore power customer-service bots, self-service assistants, booking systems, help-desk interfaces, and other conversational applications.
The other services address narrower AI capabilities.
Amazon Comprehend is primarily a natural language processing service for deriving insights from text, including sentiment, entities, key phrases, language identification, classification, and related NLP tasks. It is not the primary service for managing interactive conversational dialogue.
Amazon Polly converts text into lifelike speech. Polly can be incorporated into voice applications, but text-to-speech generation alone does not provide intent recognition, dialogue management, or conversational understanding.
Amazon Translate performs neural machine translation between supported languages. It can help multilingual applications but does not implement a conversational interface.
Amazon Lex combines speech recognition, language understanding, intent detection, slot collection, and dialogue management within a managed service. AWS further notes that developers can build, test, and publish both text and voice chatbots through Lex.
Therefore, for an application whose fundamental requirement is conversational AI , the AWS service that directly satisfies the requirement is B. Amazon Lex .
===========