Data Extraction

Pull structured data out of messy text — ingredients from a recipe, fields from a contract, attributes from a product description. The plumbing behind catalogue, intake, and processing pipelines.

50
Duration
1m 21s
Input Tokens
791
Output Tokens
3035
Cost
$0.01
Context
Input
Reformat the following recipe, in markdown format. Each step should be a header 2 and the title header 1. Separate sections by 2 newlines (Before and after the section header).
Expected output
{"recipe": "# Bacon Hamburger

## Step 1

Peel the potatoes and cut them into thin fries.
Soak them in cold water for 10–15 minutes to remove excess starch.
Drain and pat dry with a clean towel.
Preheat the oven to 220°C (430°F) or heat oil in a pot if deep-frying.

## Step 2

Toss the fries in oil and salt.
Spread them out on a baking tray and bake for 30–40 minutes, flipping halfway through.
Alternatively, deep-fry them in batches for 3–5 minutes until golden and crisp.
Drain on paper towels and season with salt.

## Step 3

Divide 300–350g of mince into two equal portions.
Gently shape into burger patties about 1–1.5 cm thick.
Press a small dent in the center of each patty to prevent puffing.
Season both sides with salt and pepper.

## Step 4

Heat a pan over medium heat and fry 4 strips of bacon until crispy, about 4–5 minutes per side.
Remove and place on paper towels to drain excess fat.

## Step 5

In the same pan, cook the burger patties over medium-high heat for 3–4 minutes per side, or until done to your liking.
Place a slice of cheese on each patty in the last minute of cooking and cover to melt.
Remove the patties from the pan and let them rest.

## Step 6

Cut the bread in half and lightly toast the cut sides in a dry pan or toaster until golden.
Wash and dry the lettuce leaves. Slice the tomato and onion into rings.

## Step 7

Spread mustard on the bottom bun and ketchup on the top bun.
Layer the burger in this order:
lettuce, burger patty, crispy bacon, tomato slices, onion rings, and top bun.

## Step 8

Serve the burgers with the hot fries on the side.
Add extra ketchup and mayonnaise for dipping.
Enjoy your homemade bacon burger feast!"}
Model output
{
  "recipe": "# Bacon Hamburger\n\n## Step 1\n\n- Peel the potatoes and cut them into thin fries.\n- Soak them in cold water for 10–15 minutes to remove excess starch.\n- Drain and pat dry with a clean towel.\n- Preheat the oven to 220°C (430°F) or heat oil in a pot if deep-frying.\n\n## Step 2\n\n- Toss the fries in oil and salt.\n- Spread them out on a baking tray and bake for 30–40 minutes, flipping halfway through.\n- Alternatively, deep-fry them in batches for 3–5 minutes until golden and crisp.\n- Drain on paper towels and season with salt.\n\n## Step 3\n\n- Divide 300–350g of mince into two equal portions.\n- Gently shape into burger patties about 1–1.5 cm thick.\n- Press a small dent in the center of each patty to prevent puffing.\n- Season both sides with salt and pepper.\n\n## Step 4\n\n- Heat a pan over medium heat and fry 4 strips of bacon until crispy, about 4–5 minutes per side.\n- Remove and place on paper towels to drain excess fat.\n\n## Step 5\n\n- In the same pan, cook the burger patties over medium-high heat for 3–4 minutes per side, or until done to your liking.\n- Place a slice of cheese on each patty in the last minute of cooking and cover to melt.\n- Remove the patties from the pan and let them rest.\n\n## Step 6\n\n- Cut the bread in half and lightly toast the cut sides in a dry pan or toaster until golden.\n- Wash and dry the lettuce leaves. Slice the tomato and onion into rings.\n\n## Step 7\n\n- Spread mustard on the bottom bun and ketchup on the top bun.\n- Layer the burger in this order:\n  - lettuce\n  - burger patty\n  - crispy bacon\n  - tomato slices\n  - onion rings\n  - top bun\n\n## Step 8\n\n- Serve the burgers with the hot fries on the side.\n- Add extra ketchup and mayonnaise for dipping.\n- Enjoy your homemade bacon burger feast!"
}