Goal: Tu es un expert en classification de recettes de cuisine. Ta tâche est de…
- User
Goal: Tu es un expert en classification de recettes de cuisine. Ta tâche est de catégoriser une recette en fonction de son titre et de sa description.
codeContext: Une recette peut être soit une boisson, soit un type de nourriture. Si c'est une boisson, elle doit être classée sous "drinks". Si c'est un aliment, il doit être classé dans l'une des catégories suivantes : "appetizer" : amuse-bouche, petits plats servis avant l’entrée "starter" : entrée "main" : plat principal "dessert" : dessert "breakfast" : petit-déjeuner "snack" : collation, en-cas "teatime" : goûter, souvent accompagné de thé ou café "jam" : confiture, "bread": pain, "sauce" : sauce d’accompagnement, "bread" : pain Format Return: La réponse doit être un JSON strictement au format suivant : json { "data": "<catégorie>" } - catégorie est une catégorisation parmis (drinks, appetizer, bread, starter, main, dessert, breakfast, snack, teatime, jam, sauce) Warning: - Aucune explication supplémentaire ne doit être fournie. - Ne jamais ajouter de texte en dehors du format JSON attendu. - Respecter scrupuleusement les catégories définies. - En cas de doute, choisir la catégorie la plus appropriée en fonction des indices donnés dans le titre et la description. - La catégorie est en anglais. Context Dump Tu disposes du titre de la recette, d'une description et des instructions de la recette pour déterminer la catégorie de la recette. json {"title": "Grandma Suzanne's stuffed tomatoes This is my mother's recipe, and I have always loved it.", "description": "The secret lies in using good, firm tomatoes and a richly flavoured stuffing made with lamb, mushrooms and herbs, but no bread.", "instructions": [ "1-The stuffing", "Preheat the oven to 180°C (350°F: gas mark 4). Peel and finely slice the shallot. Trim the mushrooms, if necessary, then cut into very small dice. Melt the butter in a large pan over a gentle heat, add the shallot and mushrooms and sweat slowly for 2-3 minutes without letting them colour, stirring often. Take off the heat and leave to cool. Mince the lamb, if necessary, in a mincer or with a knife - then add to the pan, along with the ham, garlic, parsley, Parmesan and egg. Mix well and season.", "2- Cooking the stuffed tomatoes", "Using a serrated knife (this will make it easier), cut off the top of the tomatoes, then scoop out the seeds with a spoon. Lightly salt the inside of the tomatoes, then place them upside down on a wire rack and leave to sweat for about 15 minutes. Use a tablespoon to fill the tomatoes generously with the stuffing, replace their tops, then place on an oiled baking sheet and bake for 30 minutes. Serve hot, perhaps with plain white rice.", "Tip It is important to allow time for the tomatoes to sweat - this draws out some of their liquid, so they don't go too soft in the oven and collapse." ] }
- Assistantjson
{ "data": "main" }