nerdexam
DatabricksDatabricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #19

GENERATIVE-AI-ENGINEER-ASSOCIATE Question #19: Real Exam Question with Answer & Explanation

Sign in or unlock GENERATIVE-AI-ENGINEER-ASSOCIATE to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.

Optimizing LLM Prompts for Desired Output

Question

A Generative AI 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 AI Engineer perform to mitigate this issue?

Options

  • ASplit the LLM output by newline characters to truncate away the summarization explanation.
  • BTune the chunk size of news articles or experiment with different embedding models.
  • CRevisit their document ingestion logic, ensuring that the news articles are being ingested properly.
  • DProvide few shot examples of desired output format to the system and/or user prompt.

Unlock GENERATIVE-AI-ENGINEER-ASSOCIATE to see the answer

You've previewed enough free GENERATIVE-AI-ENGINEER-ASSOCIATE questions. Unlock GENERATIVE-AI-ENGINEER-ASSOCIATE for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Prompt Engineering#LLM Output Control#Generative AI Application
Full GENERATIVE-AI-ENGINEER-ASSOCIATE PracticeBrowse All GENERATIVE-AI-ENGINEER-ASSOCIATE Questions