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": "Pain perdu with strawberry jam Don't throw out stale bread! Turn it into a light dessert instead.", "description": "This is a gourmand's delight - a tasty dessert and, at the same time, a bargain. You could also make it with slices of brioche.", "instructions": [ "In a large, non-metallic bowl, mix the strawberries with the sugar and leave to rest somewhere cool for 24 hours.", "The next day, put the fruit and sugar in a saucepan (preferably a copper one), bring to the boil and cook over quite a high heat for about 10 minutes, stirring often so the mixture doesn't catch or burn.", "Do this gently, to avoid crushing the strawberries - you want to keep them whole, if possible.", "Pour the jam into a small dish and set aside to cool.", "Whisk the eggs and sugar by hand, then add the milk and vanilla pod and mix together.", "Soak the slices of bread in this mixture for a few minutes.", "Meanwhile, heat some butter in a frying pan.", "Drain the slices of bread, then cook in the hot butter until golden, turning them once or twice.", "Serve hot with the jam." ] }
- Assistantjson
{ "data": "dessert" }