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":"Sea Bass with Tarragon Flageolets null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["sea bass","flageolet beans","tarragon","150g soft butter","lemon","salt","pepper","two 400g cans of flageolet beans"]},{"section":"A late-night sardine supper","ingredients":["can of cannellini beans","butter","olive oil","can of good-quality sardines in olive oil","salt","pepper","red wine vinegar"]},{"section":"The reassurance of a classic","ingredients":["can or jar of lentils","olive oil","crushed clove of garlic","salt","pepper","thyme","bay leaf","half a dozen scallops, or a piece of cod","butter","chopped parsley","red wine vinegar"]}],"instructions":["Mash 150g soft butter with a good handful of chopped tarragon leaves and a tablespoon of lemon juice.","Season with salt and pepper and set aside.","Set the oven at 200°C/Gas 6.","Season a large sea bass or 2 smaller ones inside and out.","Tuck half the tarragon butter inside the belly cavity, then lightly seal it closed by threading a wooden skewer or cocktail stick through it.","Place the fish in a roasting tin.","Drain and rinse two 400g cans of flageolet beans.","Surround the fish with the flageolets and dot the remaining tarragon butter over the beans.","Wrap a piece of foil loosely over the top, then bake for about 40 minutes, depending on the size of your fish.","For the last 15 minutes of cooking, spoon or brush some of the buttery juices over the fish and return it to the oven without the foil.","Break the fish into 4 pieces to serve and spoon over the beans and juice.","Drain a can of cannellini beans, tip them into a pan and add a little butter and olive oil.","Warm them over a moderate heat.","Open a can of good-quality sardines in olive oil, break them up into large pieces, then fold them into the beans.","Add a seasoning of salt, pepper and a little red wine vinegar.","Heat the contents of a can or jar of lentils in a generous amount of olive oil, adding a crushed clove of garlic, some salt and pepper, a few leaves of thyme and maybe a bay leaf or two.","Simmer gently, stirring regularly.","In a shallow pan, fry half a dozen scallops, or a piece of cod, in foaming butter.","Toss in a handful of chopped parsley, add a splash of red wine vinegar and serve with the lentils."]}
- Assistant
{ "data": "main" }