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é.
1. 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": "BILLIONAIRE'S TART", "description": "Honestly, I'm in love with this recipe. I decided to call it a Billionaire's Tart rather than a Millionaire's Tart because it has a chocolate crust rather than a plain one, plus a salted caramel filling, a chocolate ganache topping and shortbread bites on top! This no-bake recipe is a favourite on my blog where it includes plenty of customisable hints on using homemade pastry, or even making your own caramel sauce.", "subtitle": null, "ingredients": [ { "section": "BISCUIT CRUST", "ingredients": [ "300g digestive biscuits", "2 tbsp cocoa powder", "150g unsalted butter, melted" ] }, { "section": "FILLING", "ingredients": [ "250g dulce de leche", "Pinch of sea salt", "300ml double cream", "125g dark chocolate, chopped", "125g milk chocolate, chopped", "50g unsalted butter" ] }, { "section": "DECORATION", "ingredients": [ "Miniature shortbread bites", "Sprinkles" ] } ], "instructions": [ "Blitz the digestive biscuits to a fine crumb in a food processor or bash the biscuits in a bowl with a rolling pin.", "Add the cocoa powder, and mix again briefly.", "Add the melted butter and mix together until combined.", "Spread onto the base and sides of a 23cm loose-bottomed tart tin.", "I usually start on the sides, and then cover the bottom last to make sure it's a secure biscuit case.", "Spread the dulce de leche over the biscuit base, and sprinkle on some sea salt.", "Heat the cream to just before boiling point.", "Meanwhile, put the dark and milk chocolate and butter into a separate bowl.", "Pour the hot cream into the bowl and whisk together until smooth.", "If there are any chunks of chocolate left, microwave the mixture in 10-second bursts, stirring each time, or return the mixture to your pan briefly to melt.", "Carefully pour the chocolate mixture over the caramel and refrigerate for 1 hour.", "Remove the tart from the fridge and decorate with the shortbread bites and some sprinkles.", "Return to the fridge to set for a further 3 hours." ], "author": null }
- Assistant
{ "data": "WNA" }