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":"Jasmine Rice ","description":"These long-grain rice kernels have a fragrance reminiscent of jasmine and popcorn. Jasmine rice is slightly sweeter in taste than traditional long-grain rice, and stickier, so the grains will cling together.","ingredients":[{"section":"For the recipe","ingredients":["360g (2 cups) jasmine rice","1 tsp salt"]}],"instructions":["Put the rice into a medium saucepan and fill with warm water.","Rubbing your hands together, wash the rice in the pan.","then carefully drain away the water.","Repeat this process at least three times as this helps to remove some of the starch.","Cover the washed rice with cold water so the water level sits 2.5cm (1in) above the rice, then add the salt.","Place over a high heat and bring to the boil - it is important you do not stir and you must give your full attention to the pan.","As soon as the water has been absorbed and tiny craters appear in the rice, turn the heat down to its lowest setting and place the lid firmly on to the saucepan (sealing in the steam).","Leave for 2 minutes and then switch off the heat - don't be tempted to remove the lid (no peeking) as you want to keep the steam in the pan.","Leave to steam in the residual heat for a further 10 minutes.","Remove the lid and stir the rice with a spoon to loosen the grains.","Serve your perfect fluffy jasmine rice immediately."]}
Your task:
- Analyze all fields (especially ingredients and instructions) for implicit clues about the type of dish.
- Avoid over-relying on the title alone.
- Choose the most precise and relevant category from the list.
- Always prefer specificity over generalization.
Output format: Return your answer strictly in the following JSON format:
json { "data": "" }
- Assistant
{ "data": "main" }