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": "Poached Eggs", "description": "Poaching eggs is a wonderful skill to master. They can be substituted for fried or soft-yolk boiled eggs as you wish.", "subtitle": "A wonderful skill to master", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons white vinegar", "Fine sea salt", "1 large egg" ] } ], "instructions": [ "Bring a small saucepan of water to a boil.", "And the vinegar and salt the poaching liquid generously.", "Reduce the heat so as to maintain a gentle but steady boil.", "Crack the egg into a small bowl.", "With a spider skimmer or slotted spoon, stir the water until you get a whirlpool going.", "Pour the egg directly into the vortex.", "Use the spoon to keep the water circulating around the egg (I find that this helps with the shape, and keeps the egg from sinking to the bottom of the pan as the water comes back to temperature).", "Cook, stirring gently and more or less constantly, for about 2 minutes.", "Use the slotted spoon to lift the egg out of the water.", "Touch it gently with your finger or a spoon to test the progress of the cooking.", "Eventually you'll learn to know by touch when the egg is done to your liking. A runny yolk usually takes 2 to 2½ minutes; a molten one between 3 and 3½, and a firm yolk will take about 4 minutes.", "Remove from the water with the skimmer or spoon and gently blot dry on a clean kitchen towel, then serve." ], "author": "" }
- Assistant
{ "data": "WWW" }