Databricks Generative AI Engineer Associate Question 127
Single answerYou are using a large language model (LLM) to generate customer service email responses. The model's baseline outputs are too formal, but you need responses to be more conversational and friendly. Which prompt modification would best adjust the LLM's response to achieve the desired tone?
- A
Provide a detailed and formal email response to the customer's query.
- B
Rewrite the following email in a conversational and friendly tone.
- C
Generate an email response using highly technical language and formal phrasing.
- D
Compose an email response that is concise, neutral, and professional.
Show answer and explanation
Correct answer: B
Explanation
To adjust an LLM's response from a baseline to a desired output, the prompt must clearly instruct the model on how to modify its behavior. In this scenario, the goal is to make responses more conversational and friendly. The correct prompt modification explicitly specifies the desired tone ('Rewrite the following email in a conversational and friendly tone'), ensuring the model's output aligns with the requirements.
- A. Incorrect.
This option does not achieve the desired outcome as it reinforces the formal tone, which is the opposite of what is needed.
- B. Correct.
This option directly instructs the LLM to adjust the tone to be conversational and friendly, aligning with the desired output.
- C. Incorrect.
This option explicitly encourages the use of technical and formal language, which contradicts the goal of creating a conversational and friendly tone.
- D. Incorrect.
This option focuses on a neutral and professional tone, but it does not address the need for a conversational and friendly style.