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": "Black beans with lardons and onions", "description": "A hearty dish featuring soft black beans cooked with pancetta and vegetables, perfect for a comforting meal.", "subtitle": "A hearty dish with beans, pancetta, and vegetables.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "200 g of dried black beans", "750 ml of chicken stock", "1 sprig of thyme", "1 garlic clove", "3 slices of pancetta", "4 carrots", "3 small white onions", "olive oil", "5 tablespoons of balsamic vinegar" ] } ], "instructions": [ "Soak 200 g of dried black beans in water for 12 hours.", "Drain and put in a saucepan.", "Add 750 ml of chicken stock (page 10), add 1 sprig of thyme (3 sprigs required in total for the recipe) and 1 garlic clove, and cook gently for 40 to 45 minutes, until the beans are soft, without being reduced to a purée.", "Salt lightly (add only once they are cooked).", "While the beans are cooking, cut 3 slices of pancetta into lardons (approximately 3 cm). Peel 4 carrots with tops and 3 small white onions with stalks. Remove the top of the onion stalks, thinly slice the stalks and set them to one side.", "Slice the onions into rounds and slice the carrots at an angle into small pieces.", "When the beans are cooked, drain them and keep their cooking liquid.", "In a fireproof casserole dish with a drop of olive oil, sweat the pancetta lardons, the onion rounds and the pieces of carrot with the leaves of the remaining 2 sprigs of thyme for 3 minutes, without letting them colour too much.", "Add the beans and stir.", "Then add a good ladleful of their cooking liquid and 5 tablespoons of balsamic vinegar, mix well and cook for just 2 minutes.", "Then add the sliced onion stalks and stir. Taste and adjust the seasoning.", "Serve in the casserole dish." ], "author": "" }
- Assistant
{ "data": "WWW" }