Databricks Certified Generative AI Engineer Associate — Question 68

A Generative AI Engineer is creating a customer support bot that should respond differently to an end user based on the sentiment in their initial message. For example, if the end user’s message was angry, the bot should try to de-escalate their negative sentiments as it solves the customer query. They want to make sure their approach follows best practices.

Which approach will do this?

Answer options

Correct answer: D

Explanation

The correct answer is D because it effectively combines sentiment classification and response generation in a systematic way, allowing for tailored responses based on user sentiment. Options A, B, and C do not appropriately integrate the sentiment analysis with the response generation or may use inappropriate methods for sentiment detection, making them less effective for the desired outcome.