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": "Chorizo and Sweet Potato Mash", "description": "", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "chorizo sausages", "500g sweet potatoes", "a little oil", "200ml water", "a thick slice of butter", "black pepper", "salt" ] }, { "section": "Classic sausage, cloud-like mash, sweet onion gravy", "ingredients": [ "sliced onions", "butter", "a little flour", "a glass of dry Marsala", "stock" ] }, { "section": "Black pudding, a cloud of potatoes and apples", "ingredients": [ "waxy potatoes", "equal weight of slightly sharp apples", "a little butter", "salt", "soft morcilla or drier, traditional black pudding" ] }, { "section": "Toulouse sausage, butter bean mash", "ingredients": [ "Toulouse sausages", "canned butter beans", "fresh water", "butter", "black pepper" ] } ], "instructions": [ "Pierce 4 chorizo cooking sausages all over with a fork, then brown in a little oil in a shallow pan.", "Peel about 500g sweet potatoes, cut them into chunks about the size of ice cubes and add to the pan.", "Leave the sausages and potatoes to cook for 10 minutes, browning nicely, then add 200ml water, cover with a lid, and simmer for 10 minutes.", "Remove the lid, turn up the heat and allow half the liquid to evaporate, then remove the sausages to a warm place.", "Mash the sweet potato with a fork, adding a thick slice of butter as you go.", "Season the mash with black pepper and salt, then serve with the sausages placed on top.", "Make a quick onion gravy by cooking sliced onions in butter for 15 minutes, until softened, stirring from time to time, then add a little flour, let it colour, and stir in a glass of dry Marsala and enough stock to make a rich, not too thick sauce.", "Boil or steam quite waxy potatoes.", "Peel, core and slice an equal weight of slightly sharp apples, preferably not as tart as Bramleys, then cook them in a little butter in a shallow pan.", "When they are soft, fluff them up with a fork.", "Drain the potatoes and beat them to a fluff with a little butter, then fold in the apple purée.", "Salt, not sugar.", "If using soft morcilla, best to bake. A drier, traditional black pudding is better cooked in a shallow pan.", "Grill or fry the sausages.", "Drain canned butter beans, heat them in a little fresh water, drain, then mash to a soft purée with butter and black pepper." ], "author": "" }
- Assistantjson
{ "data": "ES" }