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": "Chestnut soup", "description": "A comforting chestnut soup that combines the rich flavors of bacon and fresh mushrooms, perfect for warming up on a cold day.", "subtitle": "with bacon and flaked ceps", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 shallots", "3 sticks of celery", "3 garlic cloves", "2 slices of bacon 5 mm thick", "1.2 kg of peeled chestnuts", "1 bay leaf", "0.5 teaspoon of peppercorns", "2 litres of chicken stock or water", "350 g ceps or white mushrooms", "2 firm ceps or white mushrooms", "olive oil", "salt", "freshly ground black pepper" ] } ], "instructions": [ "Preheat the oven to 120 °C (gas mark 1/2).", "Peel and cut 2 shallots and 3 sticks of celery into large chunks.", "Peel 3 garlic cloves.", "Heat a flameproof casserole dish and put in 2 slices of bacon 5 mm thick.", "Colour well on both sides, then take them out and keep hot.", "Add the chunks of shallot and celery and the whole garlic cloves to the bacon fat.", "Stir for 1 or 2 minutes.", "Add 1.2 kg of peeled chestnuts to the casserole dish.", "Sweat for 3 minutes, stirring.", "Take out about 20 of them and set aside.", "Add a bay leaf and half a teaspoon of peppercorns.", "Add 2 litres of chicken stock or water.", "Put the casserole dish in the oven for 45 minutes.", "In the meantime, clean 350 g ceps (porcini) or white mushrooms.", "Slice the caps of 2 firm ceps (or white mushrooms) into fine flakes and keep cold on a plate covered with cling film.", "Chop the rest into small dice.", "Blend the soup thoroughly.", "Taste and adjust the seasoning, adding salt and freshly ground black pepper.", "Keep hot.", "Cut the two reserved slices of bacon into fine lardons and cut the 20 reserved chestnuts into quarters.", "Heat a tablespoon of olive oil in a sauté pan and brown the chestnuts for 2 minutes.", "Add the diced mushrooms, salt lightly and cook for a further 2 to 3 minutes.", "Add the small lardons, stir and adjust the seasoning.", "Put this garnish in the middle of each soup plate.", "Pour the hot soup around it.", "Sprinkle with mushroom flakes and serve nice and hot." ], "author": "" }
- Assistant
{ "data": "FR" }