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": "MILLIONAIRE'S TRIFLE", "description": "Typically, a trifle has the classic flavours of sponge cake, fruit, custard, jelly and cream. There is nothing wrong with regular trifle ... but\nMillionaire's Trifle? Oh my, it is heaven. Chocolate custard, caramel, chocolate Swiss roll, brownies, cream and more! It sounds a bit OTT,\nbut it is secretly everyone's dream in a bite. It's fun to make, always a crowd-pleaser, and I promise you will love it as much as I do.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "500ml ready-made vanilla custard", "100g ready-made caramel", "100g milk or dark chocolate, chopped", "600ml double cream", "2 tbsp icing sugar", "1 tsp vanilla extract", "1 x jumbo chocolate Swiss roll", "500g shortbread biscuits", "300g caramel sauce" ] }, { "section": "TOPPING", "ingredients": [ "1 x packet brownie bites", "100g chocolate sauce", "Chocolates", "Sprinkles" ] } ], "instructions": [ "Pour the ready-made custard into a pan, add the caramel and chocolate and heat over a low heat, mixing together until smooth and melted.", "Pour into a bowl and leave to cool, stirring occasionally to prevent a skin forming.", "Put the double cream, icing sugar and vanilla extract into a separate bowl and whip together to form soft peaks.", "Slice the Swiss roll into 1cm round slices and then place a layer of slices into the bottom of a large serving dish about 20cm in diameter and 10cm deep (glass is best so you can see the layers).", "Add half of the custard mixture and spread evenly, then add a layer of shortbread biscuits.", "Add a third of the whipped cream and then drizzle over a third of the caramel sauce.", "Repeat with another layer of Swiss roll slices, the other half of the custard, another layer of shortbread biscuits, a third of the whipped cream and a third of the caramel sauce.", "Top with a layer of brownie bites and the remaining whipped cream.", "Drizzle over some chocolate sauce, the rest of the caramel sauce and any decoration you fancy, such as sprinkles, or chocolates!", "Leave the trifle in the fridge to set for about 1 hour before tucking in." ], "author": null }
- Assistantjson
{ "data": "GB" }