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": "HOMEMADE CRUMPETS", "description": "Just like a Welsh Cake (page 226) I am always up for a hot fresh crumpet, with a slathering of butter melting on top. I know you might be asking. "Why would I bother making crumpets?", but honestly, they are so much easier than you think and also kinda fun to watch as they cook because of the bubbles that form on their surface. I make my crumpets, and then toast them immediately for crumpet perfection, but if you have more patience than me, you can freeze them and toast separately when you're in the mood for one. Homemade crumpets are far tastier than the shop-bought versions, and I would highly recommend you give them a go.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "175g plain flour", "225ml warm water", "½ tsp sea salt", "1 tsp baking powder", "Pinch of caster sugar", "5g dried yeast", "25g unsalted butter, at room temperature, for greasing" ] } ], "instructions": [ "In a large bowl, add the flour, warm water and sea salt and whisk together for 1-2 minutes.", "Add the baking powder, sugar and yeast and whisk for another minute.", "Cover the bowl with clingfilm and leave the mixture to sit in a warm place for 20 minutes.", "Place a large flat frying pan over a medium-high heat.", "Grease three or four 9cm crumpet rings with the butter and place the rings onto the pan.", "Ladle crumpet batter into the rings so that they are half full.", "Heat at medium-high heat (level 7/9 on my hob) for 1½ minutes, and then reduce the heat to medium-low (level 4/9) and cook for a further 3-4 minutes.", "During the cooking time, bubbles should appear on the surface of the crumpets and they should start to come away from the edges of the rings.", "Remove the rings carefully, flip the crumpets over and cook for another 30 seconds before removing from the pan.", "Leave to cool.", "To serve, toast the crumpets for 2-3 minutes, spread on some butter and enjoy." ], "author": null }
- Assistantjson
{ "data": "GB" }