QuestionQ52

VerifiedDesign Applications

A Generative AI Engineer is building a customer support bot that must respond differently to an end user according to the sentiment in their initial message. For example, if an end user’s message is angry, the bot should attempt to de-escalate their negative sentiments while resolving the customer query. They want to ensure the approach follows best practices.

Which approach accomplishes this?

Explanation

A chain can classify the initial message’s sentiment and use that classification to select system instructions for the response-generation LLM. System instructions define model behavior, style, tone, goals, and constraints, making them appropriate for directing a de-escalating response to an angry customer while the interaction LLM resolves the request.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!