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": "Beef Dripping Potato Salad", "description": "Deeply savoury, salty, almost smoky. A sensational end for the roast.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "beef dripping", "350g new potatoes", "2 egg yolks", "rocket or watercress", "leftover Sunday roast beef", "150g beef dripping", "salt" ] }, { "section": "With rosemary, on toast", "ingredients": [ "Very hot, crisp sourdough toast", "beef dripping", "a pinch of very finely chopped rosemary", "roasted garlic" ] }, { "section": "Slow-baked peppers", "ingredients": [ "beef dripping", "a few Romano peppers", "toasted sourdough bread", "a handful of rocket" ] }, { "section": "Onion confit in beef dripping with melted cheese", "ingredients": [ "dripping", "sliced onions", "fontina cheese", "rough, artisan-type toast" ] } ], "instructions": [ "Halve, but don't peel, 350g new potatoes and boil until tender.", "Drain and leave to cool.", "Warm 150g beef dripping in a small pan to melt it.", "Put 2 egg yolks in a mixing bowl, then beat in the warm beef fat a little at a time, as if you were making mayonnaise.", "You will need to do this with a hand-held electric whisk on a high speed. It simply won't work otherwise.", "When the mayonnaise is thick, add the cooled potatoes and a little salt.", "Serve on a bed of rocket or watercress, then top with the crisp end of the Sunday roast, a few slices of rare leftover beef and the brown residue and sediment, warmed a little, from the roasting tin.", "Very hot, crisp sourdough toast, spread generously but not gluttonously with beef dripping, a pinch of very finely chopped rosemary and, should you have some, a smear of roasted garlic.", "Melt beef dripping in a roasting tin, add a few Romano peppers, halved lengthways, and slow roast till they are soft as silk.", "Pile on to toasted sourdough bread with a handful of rocket.", "Warm some dripping in a shallow pan, then add sliced onions and cook over a moderate heat till they are soft, golden and sticky.", "Stir in some of the dark jelly that lies under the fat, then, as it starts to bubble, add chunks of fontina cheese and let them melt into golden pools.", "Don't stir, but spoon the strings of soft onions, molten cheese and beef juices on to rough, artisan-type toast." ], "author": null }
- Assistant
{ "data": "GB" }