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": "Cod with slow-cooked endives in orange", "description": "Cod with slow-cooked endives in orange is a very low-fat dish that combines the lean fish with the beneficial fibre of endives and the vitamin C from fresh oranges.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 shallots", "12 endives", "2 oranges", "4 oranges", "4 cod steaks each weighing 100 to 120 g", "15 g of butter", "olive oil", "salt", "mignonette pepper", "freshly ground black pepper" ] } ], "instructions": [ "Peel and finely slice 3 shallots and 10 endives (12 in total required for the recipe).", "Separate the leaves from 2 more endives and cut the tips, without keeping the white lower part of the leaves. Set them aside on a plate.", "Squeeze the juice of 2 oranges (4 in total required for the recipe) and set aside in a glass.", "Remove the skin and inner membrane of 2 more oranges, keep the segments on a plate.", "Heat a flameproof casserole dish with a splash of olive oil.", "Sweat the shallots with 2 pinches of mignonette pepper until they are translucent.", "Then add the sliced endives and cook similarly for a further 2 minutes.", "Add salt.", "Pour in the orange juice and stir well.", "Cook gently until the liquid is very reduced. The endives should be well stewed.", "Heat a splash of olive oil in a non-stick frying pan.", "Cook 4 cod steaks each weighing 100 to 120 g first with the skin side down, then turn and cook for just 1 minute on the flesh side, keeping them slightly translucent.", "Add salt and freshly ground black pepper.", "Add 15 g of butter to the stewed endives and stir well.", "Taste and check the seasoning with salt and freshly ground black pepper.", "Then incorporate the reserved orange segments.", "Lay the cod fillets in a dish (or on individual plates) and distribute the stewed endives and oranges and the reserved endive leaves." ], "author": "" }
- Assistantjson
{ "data": "FR" }