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": "Boiled Eggs", "description": "Boiled eggs are terrific in ramen and many other bowls, and are handy for planning meals in advance. A cooked, boiled egg can sit in the fridge for several days, still in its shell, and molten-yolk eggs can be rewarmed in a bowl of hot tap water before serving.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "Salt", "Large eggs, in their shells, ideally at room temperature" ] } ], "instructions": [ "Prepare an ice-water bath.", "Bring a saucepan of water to boil, and salt it generously.", "Using a spider skimmer or slotted spoon, lower the eggs-as many as you'd like to cook, or as many as can fit comfortably in a single layer-into the water, ensuring that they're fully submerged.", "Stir the eggs periodically to keep the yolks centered.", "For a molten yolk: Lower the heat to maintain a gentle boil and cook the eggs for 7 minutes.", "For a firm yolk: Remove the pan from the heat, cover it, and let the eggs stand for 11 minutes.", "Lift the eggs out of the water with the spider skimmer and plunge into the ice bath to cool.", "To peel the eggs, crack all over, then peel back the skin while holding the egg in the ice water or under cold running water." ], "author": null }
- Assistantjson
{ "data": "WWW" }