
Ultimate access to all questions.
A Generative AI Engineer needs to extract the date, sender email, and order ID from an email and output the information as JSON. Given the following email sample, which prompt will achieve the highest output accuracy?
//IMG//
//IMG//

A
You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in a human-readable format.
B
You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in JSON format.
C
You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in JSON format. Here’s an example: {"date":"April 16, 2024", "sender_email":"sarah.lee925@gmail.com", "order_id":"RE987D"}
D
You will receive customer emails and need to extract date, sender email, and order IYou should return the date, sender email, and order ID information in JSON format.