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": "Coco bean ragout", "description": "With its slow carbohydrates and fibre, vegetable and animal protein, this is a complete and well-balanced dish. There is no need to serve meat or fish in this meal. A green salad, a little cheese, some fruit and you're there!", "subtitle": "with cockles", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 kg of white coco beans", "1 carrot", "1 onion cut in half", "1 sage leaf", "a small sprig of rosemary", "1 kg of cockles", "2 shallots", "a splash of olive oil", "200 ml of white wine", "8 segments of tomato confit", "a tablespoon of capers", "2 tablespoons of olive oil", "a splash of lemon juice", "some pepper", "1 shallot", "1 lemon", "a small bunch of parsley" ] } ], "instructions": [ "Prepare the coco beans.", "Shell 1 kg of white coco beans. Put them in a large saucepan and cover well with water. When it boils, lower the heat and skim several times.", "Add 1 carrot, 1 onion cut in half, 1 sage leaf and a small sprig of rosemary. Cook gently for 30 to 40 minutes, the coco beans should be soft. Add salt only at the end of cooking. Take out the vegetables and allow the coco beans to cool in their cooking liquid.", "Prepare the cockles.", "Meanwhile, rinse 1 kg of cockles well. Slice 2 shallots thinly and sweat in a large sauté pan with a splash of olive oil for 3 minutes. Add the cockles and 200 ml of white wine, stir and cover. When all the cockles are open, tip them into a large bowl.", "Remove just one shell from a few of them and the whole shell from all the rest.", "... Filter the cooking liquid through a fine mesh strainer and set aside.", "Prepare the coco bean ragout.", "Cut 8 segments of tomato confit into strips. Set aside 5 tablespoons of the cockle liquid in a bowl. Pour the rest into a large sauté pan with a splash of olive oil and reduce by half.", "Add the drained coco beans, the strips of tomato confit and a tablespoon of capers. Cook gently until the coco beans are nicely coated with the cooking liquid. Check the seasoning.", "Pour 2 tablespoons of olive oil into the bowl of cockle liquid, beating as you go, then add a splash of lemon juice and some pepper.", "To finish your dish.", "Slice 1 shallot into fine rounds. Completely peel and remove the inner membranes from 1 lemon and chop the flesh into small dice.", "Chop the leaves from a small bunch of parsley. Add all this to the sauté pan of the beans along with the shelled cockles.", "Check the seasoning salt and freshly ground black pepper.", "Arrange the cockles still in their shells on top. Drizzle with the sauce and serve in the sauté pan or in a dish." ], "author": "AD" }
- Assistantjson
{ "data": "FR" }