nerdexam
Databricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #32

A Generative AI Engineer would like an LLM to parse and extract the following information: date, sender email, and order ID. The output should be formatted into JSON. Here's an email sample: They need

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

Prompt Engineering for LLM Applications

Question

A Generative AI Engineer would like an LLM to parse and extract the following information: date, sender email, and order ID. The output should be formatted into JSON. Here’s an email sample:

They need a prompt that will extract and output the required information in JSON with the highest level of output accuracy. Which prompt will do that?

Exhibit

GENERATIVE-AI-ENGINEER-ASSOCIATE question #32 exhibit

Options

  • AYou will receive customer emails and need to extract date, sender email, and order ID. Return the
  • BYou will receive customer emails and need to extract date, sender email, and order ID. Return the
  • CYou will receive customer emails and need to extract date, sender email, and order ID. Return the
  • DYou will receive customer emails and need to extract date, sender email, and order ID. You

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#Information Extraction#Structured Output#LLM Applications
Full GENERATIVE-AI-ENGINEER-ASSOCIATE Practice