Slide 67
Slide 67 text
Proprietary + Confidential
"Given a message, extract the recipient's basic address, detail address, name, and phone
number.
- Output ONLY a single, valid JSON object.
- Use the following structure:
{
""name"": ""extracted_name"" or null,
""phone"": ""extracted_phone_number"" or null,
""basic_address"": ""extracted_basic_address"" or null,
""detail_address"": ""extracted_detail_address"" or null
}
- Name is the recipient's name. If multiple names are present, choose the recipient's
only.
- Phone number is the recipient's phone number. If multiple phone numbers are present,
choose the recipient's only.
- Retain the original spelling and format from the message.
- Recipient is sometimes marked as:
[ ... ]
- Basic address consists of province, city and street.
- Detail address is the remainder of the basic address. Apartment name, unit, suite, and
floor number should be included in detail address, not in basic address.
- The followings are example of apartment name which should be included in detail
address:
[ ... ]
- If the information of a field is missing, set as null. Note that the field should be
null, not the string ""null"".
Here is the message to extract:
{input}
"
Case Study – Kakao T
Old Prompt (highly optimized by internal/external engineering teams) Common Mistakes
Extracts sender
information instead of
recipient
Incorrectly splitting basic
and detailed address
components