Databricks Generative AI Engineer Associate Question 103
Single answerYou are working on a generative AI model to summarize articles. Initially, you use the prompt: 'Summarize this article in one sentence.' However, you notice the summaries are too vague. To improve the output, you modify the prompt to: 'Summarize this article in one sentence, focusing on key events and specific details.' What is the impact of this change in the prompt format?
- A
The modified prompt helps the model generate more detailed and specific summaries.
- B
The modified prompt reduces the model's ability to summarize articles accurately.
- C
The modified prompt has no impact as the model outputs are entirely dependent on its training data.
- D
The modified prompt causes the model to focus more on generating creative rather than factual summaries.
Show answer and explanation
Correct answer: A
Explanation
The way a prompt is structured can significantly impact the output of a generative AI model. By modifying the prompt to include specific instructions, such as focusing on key events and details, the model is better guided to produce the desired type of response. This demonstrates the importance of prompt engineering in leveraging generative AI effectively.
- A. Correct.
This is correct. The modified prompt provides additional guidance to the model, leading to more detailed and specific outputs.
- B. Incorrect.
This is incorrect. Adding specificity to the prompt usually improves the quality of the output, not reduces it.
- C. Incorrect.
This is incorrect. While the model's training data plays a role, the prompt format significantly influences the output by guiding the model's response.
- D. Incorrect.
This is incorrect. The modified prompt is designed to focus on factual details, not creative content.