Goal: You are a world-class expert in culinary recipe classification. Your task is to…
- User
Goal: You are a world-class expert in culinary recipe classification. Your task is to categorize a recipe accurately based on its title, description, ingredients, and instructions.
Context: A recipe can either be a beverage or a food item. If it's a beverage, classify it as "drinks". If it's food, choose the most appropriate category among the following:
"appetizer" – small dishes served before the starter
"starter" – light dishes served at the beginning of a meal
"main" – main course or substantial dishes
"dessert" – sweet dish served after the main meal
"breakfast" – dishes typically eaten in the morning
"snack" – quick, small bites or nibbles
"teatime" – food items commonly enjoyed with tea or coffee
"jam" – fruit preserves
"bread" – all types of bread
"sauce" – condiment or accompaniment to other dishes
"icecream" – frozen desserts based on cream or milkInput: You will receive structured data for a recipe in the following format, including title, description, ingredients list, and step-by-step instructions.
json {"title":"Chilli and Salt Squid with Peppers and Onions ","description":"I order this dish every time I head to a Cantonese restaurant; it evokes so many memories of my days working in Mum and Dad's restaurant. As soon as I smell it, I'm instantly transported back into the kitchen, to the sound of the Chinese range roaring away and the woks clanging as ingredients are tossed into the air, the flashes of flames as the fire meets the sizzle and spit of hot oil.","ingredients":[{"section":"For the recipe","ingredients":["300g (10%oz) fresh squid, a mixture of cleaned tubes and tentacles","½ tbsp salt","½ tbsp Chinese five spice","1 tsp freshly ground black pepper","groundnut oil, for deep-frying, plus 1 tbsp","50g (½ cup) cornflour (cornstarch)","1 egg, beaten","1 small onion, finely diced","green (bell) pepper, de-seeded and finely diced","2 bird's-eye chillies, finely chopped","1 garlic clove, crushed","2 tbsp water","1 tsp sesame oil"]}],"instructions":["Slice the squid into bite-sized pieces and gently score the back of each tube piece with a criss-cross pattern.","This will help the squid cook evenly and stop it from curling up too much.","In a separate bowl, mix the salt, five spice and pepper and set aside.","Heat enough oil to deep-fry the squid in a large wok or deep-sided saucepan to 180°C (360°F).","Spread the cornflour on a plate and put the beaten egg in a shallow bowl.","Coat each piece of squid in the cornflour, shaking off the excess, then dip into the egg and then back into the cornflour.","Gently lower the squid in batches into the hot oil and deep-fry for around 3 minutes turning once or twice to allow each piece to brown evenly.","Remove the squid and place on a wire rack or a plate lined with kitchen paper to drain.","Heat the 1 tablespoon of oil in a wok or frying pan until the oil just begins to smoke.","Add the onion, green pepper and chillies.","Stir-fry for 30 seconds on a high heat, then add the garlic and mix thoroughly.","Add the deep-fried squid and evenly sprinkle in the five-spice mixture.","Quickly toss the ingredients together, pour in the water and quickly toss again. coating each piece.","Turn off the heat, add the sesame oil and serve immediately."]}
- Assistant
{ "data": "main" }