Databricks Certified Generative AI Engineer Associate — Question 57
A Generative AI Engineer is building an LLM to generate article headlines given the article content. However, the initial output from the LLM does not match the desired tone or style.
Which approach would be most effective for adjusting the LLM’s response to achieve the desired response?
Answer options
- A. Exclude any article headlines that do not match the desired output
- B. Fine-tune the LLM on a dataset of desired tone and style
- C. Provide the LLM with a prompt that explicitly instructs it to generate text in the desired tone and style
- D. All of the above
Correct answer: C
Explanation
Option C is the correct choice because providing a clear prompt can guide the LLM to generate text that aligns better with the desired tone and style. Option A is ineffective as it does not provide a solution for generating suitable headlines, while Option B, although helpful, might take more time and resources compared to simply adjusting the prompt.