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":"Caramel Coated Catfish Vietnamese-style catfish covered with a caramelized fish sauce and cooked in the way of the Vietnamese.","description":"Because it is rich in heart-healthy fats and retains its moisture even after being braised, catfish is an excellent option when looking for a fish to utilize for this cooking method. When the catfish is newly cooked, biting into the flesh that has been braised makes for a delightful experience since it's both firm and juicy.","ingredients":[{"section":"For the recipe","ingredients":["½ cup water","2 tablespoons fish sauce","2 shallots, chopped","4 cloves garlic, minced","1½ teaspoon ground black pepper","1/4 teaspoon red pepper flakes","½ cup water","½ cup white sugar","2 lbs. catfish fillets","½ teaspoon white sugar","1 tablespoon fresh lime juice","1 green onion, thinly sliced","½ cup chopped cilantro"]}],"instructions":["In a small dish, combine ½ of a cup of water with the fish sauce, then put aside.","In a separate bowl, combine the shallots, garlic, black pepper, and red pepper flakes, and then put this mixture aside.","In a large pan, combine ½ of a cup of water with 1/3 of a cup of sugar.","Heat the mixture over medium heat, turning the mixture regularly, until the sugar becomes a deep golden brown.","Incorporate the fish sauce combination in a careful manner, then bring to a boil.","After stirring in the shallot mixture, wait for the shallots to get tender before adding the catfish to the pan.","Cover the pan and cook the catfish for about 5 minutes on each side, or until it flakes easily when tested with a fork.","Put the catfish on a big platter, cover it, and put it to the side for a moment.","Raise the temperature to high, then add sugar gradually while stirring it in.","Mix in the juice of half a lime as well as any sauce that has accumulated on the dish.","Bring to a boil and then decrease the heat to maintain a simmer for the remaining time.","Top the fish with a sauce poured over it and garnish with green onions and cilantro."]}
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" }