Databricks Generative AI Engineer Associate Question 106
Single answerYou are designing a prompt to generate customer support responses using a language model. Initially, the prompt is: 'Generate a polite response to the customer's complaint about delayed shipping.' You decide to modify the prompt to: 'Generate a concise and apologetic response to the customer's complaint about delayed shipping, including a reassurance about resolving the issue promptly.' How can this modification impact the model's output?
- A
The model will likely generate a shorter and more focused response that emphasizes an apology and resolution.
- B
The model will generate a response that ignores the complaint and focuses only on general customer service guidelines.
- C
The model will generate a response with more technical details about the shipping process.
- D
The model's output will remain unaffected, as prompt modifications do not influence the response.
Show answer and explanation
Correct answer: A
Explanation
Prompt formats directly influence the model's output by guiding its tone, content, and structure. In this scenario, the revised prompt specifies additional requirements (conciseness, apology, reassurance), which leads the model to generate a response that aligns more closely with these attributes. Understanding how prompt modifications change results is essential for effective prompt engineering.
- A. Correct.
This is correct because the revised prompt explicitly instructs the model to focus on being concise, apologetic, and reassuring, which changes the tone and content of the output.
- B. Incorrect.
This is incorrect because the revised prompt does not direct the model to ignore the complaint or focus solely on general guidelines.
- C. Incorrect.
This is incorrect because the revised prompt does not ask for technical details about the shipping process, so the model is unlikely to include them.
- D. Incorrect.
This is incorrect because prompt modifications play a critical role in shaping the model's output, and the change in wording can significantly affect the response.