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": "NYC Chocolate Chip Cookies", "description": "This was one of the most requested recipes on my blog ever, so it had to have a place in this book. I basically wanted to create giant chocolate chip cookies, which are easy to make. The key to these cookies is genuinely - as annoying as this is going to sound - trusting the recipe. They are worth the wait of making the dough, chilling, and letting them cool. You will adore them!", "subtitle": "Giant, gooey and utterly epic, these NYC Chocolate Chip Cookies are based on the famous cookies from New York City.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "125g unsalted butter", "100g soft light brown sugar", "75g white granulated sugar", "1 egg (medium or large)", "1 tsp vanilla extract", "300g plain flour", "1% tsp baking powder", "½ tsp bicarbonate of soda", "½ tsp sea salt", "150g dark chocolate chips or chunks", "150g milk chocolate chips or chunks" ] } ], "instructions": [ "Put the butter and both sugars into a bowl and beat together until creamy.", "Add the egg and vanilla extract and beat again.", "Add the flour, baking powder, bicarbonate of soda and sea salt and mix until cookie dough is formed.", "Add the chocolate chips or chunks and mix until well combined.", "Portion the dough out into eight balls - they should weigh about 120g each.", "Once rolled into balls, put the cookie dough in the freezer for at least 30 minutes, or in the fridge for an hour or so.", "While the cookie dough is chilling, preheat the oven to 200°C/180°C fan and line two baking trays with parchment paper.", "Put the cookie dough balls onto the lined baking trays and bake for 12-14 minutes.", "Once baked, leave the cookies to cool on the trays for at least 30 minutes as they will continue to bake while cooling.", "You can reheat the cookies in the microwave for 20 seconds, or the oven for 2-3 minutes to serve warm." ], "author": null }
- Assistantjson
{ "data": "US" }