Microsoft Azure AI Fundamentals — Question 153

You are building a chatbot that will use natural language processing (NLP) to perform the following actions based on the text input of a user.

• Accept customer orders.
• Retrieve support documents.
• Retrieve order status updates.

Which type of NLP should you use?

Answer options

Correct answer: D

Explanation

Language modeling (D) is the appropriate choice as it focuses on predicting the next word in a sequence, which is essential for understanding and generating natural language responses. Sentiment analysis (A) is more about gauging emotions, named entity recognition (B) identifies specific entities in the text, and translation (C) is aimed at converting text from one language to another, all of which do not directly support the actions required by the chatbot.