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": "Calf's liver with parsley and flaked Jerusalem artichokes", "description": "Calf's liver is very rich in iron and vitamins, especially vitamin A. It is quite high in cholesterol, but that is no reason to do without, unless you have serious problems in that regard.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 slices of calf's liver weighing 120 g and about 1 cm thick", "500 g of Jerusalem artichokes", "2 garlic cloves", "10 sprigs of flat-leaf parsley", "1 tablespoon of olive oil", "15 g of butter", "2 tablespoons of wine vinegar", "salt", "black pepper" ] } ], "instructions": [ "Get your butcher to cut 4 slices of calf's liver weighing 120 g and about 1 cm thick.", "Peel 500 g of Jerusalem artichokes, wash and slice thinly with a knife.", "Peel 2 garlic cloves, crush 1 of them and chop the other.", "Rinse and dry 10 sprigs of flat-leaf parsley, and chop the leaves.", "Heat 1 tablespoon of olive oil in a non-stick frying pan, sauté the slices of Jerusalem artichoke with the crushed garlic clove over a high heat for 5 minutes.", "Add salt.", "Lower the heat, add 15 g of butter and continue to cook for 10 to 15 minutes, until the Jerusalem artichokes are golden on the outside and soft inside.", "In the meantime, salt the slices of calf's liver.", "Heat a splash of olive oil in frying pan, add the liver and cook for about 1 1/2 minutes on each side if you like your liver rare, 2 1/2 minutes if you prefer it medium.", "Put them in the serving dish.", "Put the chopped parsley and chopped garlic into the frying pan.", "Stir for 20 seconds, then add 2 tablespoons of wine vinegar.", "Stir once more and pour this liquid over the slices of calf's liver.", "Add a generous twist of freshly ground black pepper.", "Arrange the Jerusalem artichokes around the meat, or serve them separately." ], "author": "" }
- Assistantjson
{ "data": "FR" }