Databricks Certified Generative AI Engineer Associate — Question 36

A Generative Al Engineer is creating an LLM system that will retrieve news articles from the year 1918 and related to a user's query and summarize them. The engineer has noticed that the summaries are generated well but often also include an explanation of how the summary was generated, which is undesirable.
Which change could the Generative Al Engineer perform to mitigate this issue?

Answer options

Correct answer: D

Explanation

The correct answer is D because providing few-shot examples helps the model understand the expected format of the output, reducing unwanted explanations. Option A would only remove parts of the output but not address the root cause. Option B focuses on configurations that may not directly influence the summarization style. Option C involves the ingestion process, which is not the source of the summarization issue.