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": "CHERRY CLAFOUTIS", "description": "A sweet dessert made with fresh black cherries and a light custard batter, perfect for any occasion.", "subtitle": "Fernande Allard Style", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "300G 10.56 OUNCES (1 1/4 CUPS) EGGS (ABOUT 6 LARGE)", "220G 7.76 OUNCES (1 CUP PLUS 1 1/2 TABLESPOONS) SUGAR", "1 LITER 4 1/4 CUPS MILK", "1 VANILLA BEAN", "70G 2.47 OUNCES (1/2 CUP PLUS 1 TABLESPOON) FLOUR", "500G 1 POUND 2 OUNCES (3 2/3 CUPS) BLACK CHERRIES", "20G 0.71 OUNCE (1 1/2 TABLESPOONS) BUTTER" ] } ], "instructions": [ "Preheat the oven to 200°C - 400°F (gas mark 7).", "Break the eggs into a bowl and add 200g - 7 ounces (1 cup) sugar.", "Whisk the mixture until it becomes thick and pale.", "Boil the milk with the split vanilla bean and seeds.", "Incorporate the flour into the egg-sugar mixture and add the hot milk.", "Remove the vanilla bean, stir the batter.", "Remove the cherry stems.", "Grease a 20cm 8 inch round or oval baking dish with the butter and lay the cherries over the bottom of the dish.", "Carefully pour the batter over the cherries, being careful not to disperse them.", "Place in the oven on the middle rack and bake for 20 minutes.", "Sprinkle the clafoutis with the remaining sugar as soon as it comes out of the oven.", "Serve warm." ], "author": "ALLARD" }
- Assistantjson
{ "data": "FR" }