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": "Glazed Ring Doughnuts", "description": "I love doughnuts. I always have, and I always will. They take a bit of time and patience, but they have the fluffiest and softest texture with\na lightly crispy outside. These are so fun to make and decorate - you can top the doughnuts with whatever you want (just take a look at\nthe glazed ring doughnuts on my blog), such as chocolate, icing, sprinkles etc!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "450g strong white bread flour, plus extra for dusting", "50g caster sugar", "½ tsp salt", "14g dried yeast", "75g chilled unsalted butter, cubed", "200ml full-fat milk", "1 tsp vanilla extract", "2 eggs", "2 litres sunflower oil, for frying" ] }, { "section": "Topping Ideas", "ingredients": [ "400g icing sugar + 2-3 tbsp water, with 15g freeze-dried raspberries", "400g icing sugar + 2-3 tbsp water, with 150g sprinkles", "400g chocolate, with chocolate curls" ] } ], "instructions": [ "Sift the flour into a large bowl, add the caster sugar, salt and yeast and mix together.", "With your fingertips, rub butter into the mixture until it resembles breadcrumbs.", "Gently heat the milk until warm but not piping hot. If heating in a pan, you want it to just start steaming.", "Mix the warm milk, vanilla extract and eggs into the dry ingredients with a spatula to bring the mixture together.", "Knead the dough together for 7-10 minutes. It will be sticky at first, but it will soon come together. Once kneaded, it will be springy to touch, and not sticky.", "Transfer the dough to a clean, lightly oiled bowl, cover with clingfilm and set aside to rise for 1-2 hours, or until doubled in size.", "Once the dough has risen, roll it out on a lightly floured work surface until it is 2cm thick.", "Using a 9cm round cutter, cut out as many doughnut shapes as you can, then use a 4cm round cutter to cut out the middle of each round to form a ring.", "Re-roll the dough and repeat to make 12 doughnuts in total.", "Line a large baking tray with parchment paper, lightly dust with flour and arrange the doughnuts on the tray.", "Cover with a lightly oiled piece of clingfilm and leave to prove again for 30-60 minutes, or until doubled in size.", "Pour the oil into a wide, high-sided pan to a depth of about 5cm and heat until the oil reaches a temperature of 170°C - test this with a thermometer.", "Carefully lower the doughnuts into the oil with a slotted spoon, two at a time, and fry for 1-2 minutes each side. The doughnuts should turn a nice golden colour - if they are browning very quickly it's because the oil is too hot so remove the pan from the heat. Once the doughnuts are golden all over, remove carefully from the oil, and drain on a tray lined with kitchen paper. Repeat until all the doughnuts are done.", "Decorate your doughnuts in one of the following ways:", "FREEZE-DRIED RASPBERRIES:", "In a bowl, mix together the icing sugar and water until you have a thick paste.", "Dunk the doughnuts into the icing and place on a tray.", "Sprinkle with freeze-dried raspberries and leave to set.", "SPRINKLE DOUGHNUTS:", "In a bowl, mix together the icing sugar and water until you have a thick paste.", "Pour the sprinkles into a separate bowl.", "Dunk the doughnuts into the icing and then dunk straight into the sprinkles.", "Turn over, and put on a tray to set.", "CHOCOLATE:", "Melt the chocolate in a heatproof bowl (I do this in a microwave).", "Dunk the doughnuts into the chocolate, and then place on a tray.", "Sprinkle with chocolate curls" ], "author": null }
- Assistant
{ "data": "WNA" }