Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un code correspondant dans un format JSON structuré.
code1. Recherche d’un pays mentionné dans la recette et extraction de son code ISO 3166-1 alpha-2. 2. Détermination de l’origine culinaire du pays si aucun pays n'est explicitement mentionné. 3. Identification d’un continent si aucun pays ne peut être déterminé. 4. Retour du code WWW si l’origine ne peut être définie. Return Format Renvoies un objet JSON structuré comme suit : json { "data": "<code>" } - Si un pays est mentionné, utilise son code ISO 3166-1 alpha-2 (ex. : FR pour la France). - Si aucun pays n'est trouvé, renvoie un code de continent parmi : WAF (Afrique) WAS (Asie) WEU (Europe) WNA (Amérique du Nord) WSA (Amérique du Sud) WOC (Océanie) - Si aucune information ne permet de déterminer une origine, renvoie WWW. Warnings - Respecte l’ordre de priorité : pays → continent → code WWW. - Le code ISO 3166-1 alpha-2 doit être exact et valide si un pays est identifié. - Le format du JSON doit être strictement respecté et bien formatté. - Ne fais aucune supposition infondée sur l’origine de la recette. Context Dump Données de la recette fournies : json {"title": "School Dinner Cake", "description": "This retro vanilla traybake is an easy bake for celebrations and parties and brings back fond memories of school. I remember rushing in at break time to join the queue for a slice of this, devouring each and every crumb. The sponge is incredibly fluffy and soft, the simple glacé icing gives it just the right amount of sweetness and the rainbow sprinkles add that pop of colour. This one is definitely a crowd-pleaser.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "225g butter or margarine at room temperature", "225g caster sugar", "4 eggs, beaten", "1 teaspoon vanilla extract", "225g self-raising flour", "1 teaspoon baking powder", "3 tablespoons milk", "rainbow sprinkles, to decorate" ] }, { "section": "GLACÉ ICING", "ingredients": [ "300g icing sugar", "2-3 tablespoons milk", "1 teaspoon vanilla extract (optional)" ] } ], "instructions": [ "Preheat the oven to 160°C (gas mark 3) and grease and line a 20cm square cake tin with baking paper.", "Cream the butter and sugar together in a bowl until light and fluffy using an electric hand whisk or wooden spoon.", "Beat in the eggs and stir in the vanilla extract.", "Fold in the flour and baking powder using a large metal spoon, then add the milk to create a smooth batter, taking care not to overmix.", "Transfer the mixture to the prepared cake tin and gently spread out with a spatula.", "Cook in the oven for 25-30 minutes until golden brown and coming away from the edges of the tin. A skewer inserted into the middle should come out clean.", "Set aside to cool in the tin for 5 minutes, then turn out, peel off the paper and transfer to a wire rack to cool completely.", "For the glacé icing, sift the icing sugar into a bowl and gradually add the milk, a little at a time, until the icing becomes thick enough to coat the back of a spoon.", "If necessary, adjust the consistency with a few drops more milk or a little more icing sugar. The icing should be smooth and glossy.", "Add the vanilla, if using, then pour the icing over the cooled cake, using a spoon to guide it to the edges. Finish off with rainbow sprinkles.", "Allow the icing to set, then cut the cake into 4cm squares.", "Store any leftover cake in an airtight container for up to 3-4 days." ], "author": null }
- Assistantjson
{ "data": "WWW" }