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": "Macarons", "description": "These pink vanilla macarons are filled with a dainty pink buttercream. They may look like an intimidating bake, but honestly they are worth the effort. They taste delicious, they are light, and you can customise them to whatever colours you prefer, or fill with other buttercream flavours. Heaven!", "subtitle": "An afternoon tea classic. These pink vanilla macarons are filled with a dainty pink buttercream.", "ingredients": [ { "section": "MACARONS", "ingredients": [ "200g icing sugar", "100g ground almonds", "100g egg whites (about 3 medium eggs)", "75g caster sugar", "½ tsp pink food colouring", "1 tsp vanilla extract" ] }, { "section": "FILLING", "ingredients": [ "50g unsalted butter, at room temperature", "100g icing sugar", "½ tsp pink food colouring" ] } ], "instructions": [ "Sift the icing sugar and the ground almonds into a large bowl.", "It is very important that you sift it, as this will prevent any lumps.", "To be really sure you have no lumps, you can sift twice.", "Put the egg whites into a separate large bowl and whisk them to stiff peaks.", "Start adding the caster sugar, 1 teaspoon at a time, until it is all incorporated, then whisk for a further minute.", "Add the food colouring and whisk until combined and you reach your desired colour.", "Add the meringue mixture to the bowl of icing sugar and ground almonds, along with the vanilla extract.", "Carefully fold the mixture together, making sure that it is all combined.", "Use a rubber spatula to smooth the mixture around the edges of the bowl (this is called 'macaronage').", "Transfer the mixture to a piping bag fitted with a small round tip (0.5cm) and line 2-3 baking trays with parchment paper.", "Carefully pipe the mixture onto the lined trays, making circles about 2cm in diameter.", "Space them well apart, as they will spread in the oven.", "Once you have piped all your macarons, tap the trays onto the work surface 5 or 6 times to get any air bubbles out, and set aside for 1 hour to form a skin.", "Towards the end of the hour, preheat your oven to 150°C/130°C fan.", "Bake the macarons for 18-20 minutes.", "You can check they are done by carefully lifting off one of the shells - it should come off cleanly.", "Remove from the oven, and leave to cool fully on the trays while you make the filling.", "Beat the butter on its own so it is smooth.", "Add the icing sugar and pink food colouring and beat again until fluffy.", "Carefully peel the macarons off the parchment paper and then pipe a small amount of buttercream on to one macaron, then sandwich with another macaron.", "Put them into the fridge for the buttercream to set for an hour or so, and then enjoy." ], "author": "" }
- Assistantjson
{ "data": "FR" }