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": "CHOCOLATE RASPBERRY ROLLS", "description": null, "subtitle": "Why would you not want to combine chocolate, raspberries and delicious bread in a warm, cosy and gooey bake?! These chocolate and raspberry rolls are sweet, chocolatey and splendid.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "280g strong white bread flour, plus extra for dusting", "20g cocoa powder", "7g dried yeast", "35g caster sugar", "45g chilled unsalted butter, cubed", "150ml full-fat milk", "½ tsp vanilla extract", "1 egg", "75g white chocolate chips", "75g dark chocolate chips" ] }, { "section": "FILLING", "ingredients": [ "25g unsalted butter, melted", "50g soft light brown sugar (or caster sugar)", "100g frozen raspberries" ] } ], "instructions": [ "Sift the flour and cocoa powder into a large bowl, add the caster sugar and dried yeast and mix together.", "Rub the butter into the mixture until it resembles breadcrumbs.", "Gently heat the milk in a small pan until warm but not piping hot - it should just be starting to steam.", "Mix the warm milk, vanilla extract and egg yolk into the dry ingredients.", "Knead the dough together for 3 minutes, then add the chocolate chips.", "Continue kneading for a further 3 minutes.", "Transfer the dough to a clean, lightly oiled bowl, cover the top of the bowl with clingfilm and let the dough rise for 2 hours, or until doubled in size at least.", "Once the dough has risen, transfer to a lightly floured work surface, and roll out to a rectangle about 30 x 20cm.", "Gently brush the surface with the melted butter, then sprinkle over the caster sugar and frozen raspberries.", "Roll the dough up quite tightly from long side to long side and cut this roll evenly into 6-8 pieces.", "Arrange the buns in a dish that is roughly 17 x 24cm in size.", "Cover the dish with clingfilm, and let them rise for another hour or so. By the end, they should all be touching.", "Towards the end of this second prove, preheat the oven to 180°C/160°C fan.", "Bake for 20-25 minutes until firm to the touch.", "Leave to cool in the tin for at least 30 minutes before tucking in and enjoying." ], "author": null }
- Assistantjson
{ "data": "WWW" }