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": "Cornbread Biscuits", "description": "It's cornbread... but it's a biscuit. It's a cornbread biscuit. And it isn't messing around. Serve these alongside any of the Latin-themed brunches. Although these biscuits aren't overly sweet, you can reduce the sugar if you prefer your cornbread super savory. Just use 2 tablespoons of sugar and you are all set.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups flour", "1 cup stone-ground cornmeal", "¼ cup sugar", "2 tablespoons baking powder", "½ teaspoon salt", "1/3 cup canola oil", "1 cup almond milk (or your favorite nondairy milk)", "2 teaspoons apple cider vinegar" ] } ], "instructions": [ "Preheat the oven to 400°F. Grease two baking sheets (or use one for two batches if your oven is too small and your baking sheet too large. But I don't advise placing the sheets on two oven racks as they need to heat evenly).", "Combine the flour, cornmeal, sugar, baking powder, and salt in a large mixing bowl.", "Make a well in the center and pour in the oil, milk, and vinegar.", "Gently mix until all the ingredients are just moistened (some lumps of flour in the batter are just fine).", "Use a tablespoon to dole out heaping spoonfuls of batter onto the baking sheets about 2 inches apart.", "Bake biscuits for 12 to 14 minutes, until the tops are firm. The bottoms should be lightly browned. They can cool on the baking sheet, no problem.", "Let them sit for about 10 minutes, then serve warm. They're good at room temp, too, though." ], "author": null }
- Assistantjson
{ "data": "WNA" }