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": "Spiced Eggs with Squash", "description": null, "subtitle": "Sweet, autumnal.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "a medium-sized squash, such as onion squash or butternut", "4 tablespoons of olive, rapeseed or groundnut oil", "a tablespoon of mustard seeds", "a tablespoon of garam masala", "2 eggs", "50g butter (for Buttered poached eggs and herbs)", "4 lightly poached eggs (for Buttered poached eggs and herbs)", "a couple of tablespoons of chopped herbs (for Buttered poached eggs and herbs)", "a few drops of lemon juice (for Buttered poached eggs and herbs)", "split English muffins (for English muffins, cheese, poached eggs)", "grated cheese (for English muffins, cheese, poached eggs)", "poached eggs (for English muffins, cheese, poached eggs)", "York ham (for Eggs and ham)", "sliced provolone cheese (for Eggs and ham)" ] } ], "instructions": [ "Peel a medium-sized squash, such as onion squash or butternut, and remove and discard the seeds.", "Cut the flesh into small bite-sized pieces.", "Steam the squash over boiling water till tender to the point of a knife, then drain and set aside.", "Warm 4 tablespoons of olive, rapeseed or groundnut oil in a deep frying pan, then add a tablespoon of mustard seeds.", "Add the cooked squash and let it colour.", "Stir gently, taking care not to break up the pieces, then sprinkle over a tablespoon of garam masala.", "Continue to cook for a few minutes, till fragrant, then remove to 2 warm plates.", "Break 2 eggs into the pan and fry till just cooked.", "Slide them carefully on top of the squash.", "Buttered poached eggs and herbs: Melt 50g butter in a shallow pan. As it bubbles, slide in 4 lightly poached eggs. Scatter them with a couple of tablespoons of chopped herbs and a few drops of lemon juice and baste gently. Serve immediately.", "English muffins, cheese, poached eggs: Toast and generously butter split English muffins. Top them with poached eggs, pile on grated cheese, then bake or grill till melted.", "Eggs and ham: Same as above but place a piece of York ham under the poached eggs and use sliced provolone cheese on top of them." ], "author": null }
- Assistant
{ "data": "WNA" }