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": "Gammon Steaks, Broad Beans and Mustard Seeds", "description": "Pink meat, green beans.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "gammon steaks", "broad beans", "butter", "brown mustard seeds" ] }, { "section": "Gammon, crème fraîche, two mustards", "ingredients": [ "gammon steaks", "butter", "crème fraîche", "Dijon mustard", "grain mustard", "black pepper", "salt", "lemon juice" ] }, { "section": "Ham sandwich, soured cream and mustard mayo", "ingredients": [ "mayonnaise", "soured cream", "smooth Dijon mustard", "York ham", "iceberg lettuce", "Cheddar" ] } ], "instructions": [ "Boil 100g shelled broad beans in deep, lightly salted water for 8-10 minutes, till tender, then drain them and return to the pan.", "Using a fork or potato masher, crush the beans a little.", "Melt 75g butter in a shallow, non-stick pan, let it sizzle, then add two 125g gammon steaks.", "Cook for 3 or 4 minutes on each side, spooning over the butter as you go.", "Remove the meat to a warm plate, then add a teaspoon of brown mustard seeds to the butter and let them cook briefly - they may start to pop.", "Stir in the crushed broad beans and a grinding of black pepper.", "When all is sizzling, briefly return the gammon to the pan, then serve with the broad beans.", "Mix together equal quantities of mayonnaise and soured cream (the cream will sharpen and lighten it a little), then season with smooth Dijon mustard.", "Add to a classic York ham sandwich with some torn iceberg lettuce and paper-thin toothsome Cheddar.", "Fry a couple of gammon steaks in butter, then remove them to warm plates.", "Add a small tub of crème fraîche to the pan, together with a couple of tablespoons of mustard - I suggest one each of Dijon and grain.", "Season with black pepper and a very little salt.", "Bring to a slow bubble, add a squeeze of lemon juice and serve with the gammon steaks." ], "author": null }
- Assistantjson
{ "data": "GB" }