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": "Sea Bass with Tarragon Flageolets", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "sea bass", "flageolet beans", "tarragon", "150g soft butter", "lemon", "salt", "pepper", "two 400g cans of flageolet beans" ] }, { "section": "A late-night sardine supper", "ingredients": [ "can of cannellini beans", "butter", "olive oil", "can of good-quality sardines in olive oil", "salt", "pepper", "red wine vinegar" ] }, { "section": "The reassurance of a classic", "ingredients": [ "can or jar of lentils", "olive oil", "crushed clove of garlic", "salt", "pepper", "thyme", "bay leaf", "half a dozen scallops, or a piece of cod", "butter", "chopped parsley", "red wine vinegar" ] } ], "instructions": [ "Mash 150g soft butter with a good handful of chopped tarragon leaves and a tablespoon of lemon juice.", "Season with salt and pepper and set aside.", "Set the oven at 200°C/Gas 6.", "Season a large sea bass or 2 smaller ones inside and out.", "Tuck half the tarragon butter inside the belly cavity, then lightly seal it closed by threading a wooden skewer or cocktail stick through it.", "Place the fish in a roasting tin.", "Drain and rinse two 400g cans of flageolet beans.", "Surround the fish with the flageolets and dot the remaining tarragon butter over the beans.", "Wrap a piece of foil loosely over the top, then bake for about 40 minutes, depending on the size of your fish.", "For the last 15 minutes of cooking, spoon or brush some of the buttery juices over the fish and return it to the oven without the foil.", "Break the fish into 4 pieces to serve and spoon over the beans and juice.", "Drain a can of cannellini beans, tip them into a pan and add a little butter and olive oil.", "Warm them over a moderate heat.", "Open a can of good-quality sardines in olive oil, break them up into large pieces, then fold them into the beans.", "Add a seasoning of salt, pepper and a little red wine vinegar.", "Heat the contents of a can or jar of lentils in a generous amount of olive oil, adding a crushed clove of garlic, some salt and pepper, a few leaves of thyme and maybe a bay leaf or two.", "Simmer gently, stirring regularly.", "In a shallow pan, fry half a dozen scallops, or a piece of cod, in foaming butter.", "Toss in a handful of chopped parsley, add a splash of red wine vinegar and serve with the lentils." ], "author": null }
- Assistant
{ "data": "FR" }