Detective extracting key details
Challenge • Easy Difficulty
Detective extracting key details
Turn pages of text into clean, structured JSON with names, ages, and occupations.
Easy
Description
A stack of scanned documents has landed on your desk. Each page contains personal records with a name
, age
, and occupation
buried in unstructured text.
Your task is to extract these key details and convert them into clean JSON for the analytics team to investigate further.
Accuracy matters! Mistakes could lead to missed insights or false leads. Can you turn this raw data into actionable intelligence?
Requirements
- •The age must be extracted correctly
- •The name must be outputted in the correct case. john -> John
Data Extraction
JSON
Example
Input:
John is a software engineer in Seattle and is 30 years old
Expected Output:
JSON Data
{
"name": "John",
"age": 30,
"occupation": "software engineer"
}
Hints
Your Prompt
Write a prompt that will transform the input to match the expected output
Be specific and clear in your instructions0/1200 characters