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 crêpes with pan-fried raspberries and Brocciu", "description": "This light dessert features delicious chestnut crêpes served with pan-fried raspberries and fresh Brocciu cheese.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "200 g of chestnut flour", "100 g of wheat flour", "4 pinches of salt", "2 eggs", "150 ml of water", "150 ml of milk", "10 g of butter (20 g required in total for the recipe)", "2 punnets of raspberries (3 punnets required in total for the recipe)", "20 g of caster sugar", "1 tablespoon of Crème de Framboise raspberry liqueur", "contents of another punnet of raspberries" ] } ], "instructions": [ "Prepare the crépe batter", "Combine 200 g of chestnut flour, 100 g of wheat flour and 4 pinches of salt in a bowl and stir together.", "Make a well in the centre and break 2 eggs into it.", "Mix well then pour in 150 ml of water and 150 ml of milk, stirring continuously.", "When the batter is nice and smooth, cover the bowl with a cloth and leave to swell in a warm place for 1 hour.", "Cook the crêpes.", "Melt 10 g of butter (20 g required in total for the recipe) in the microwave and brush a frying pan with it.", "Pour in a small ladleful of crêpe batter and spread over the whole of the frying pan.", "Cook until the edges of the crêpe begin to colour then toss or turn with a spatula and cook for about 1 minute on the other side.", "Lay the crêpe on a plate and keep warm.", "Cook the other crêpes similarly.", "Prepare the pan-fried raspberries.", "Melt 10 g of butter with 20 g of caster sugar in a frying pan, add the contents of 2 punnets of raspberries (3 punnets required in total for the recipe) and cook, shaking the pan, for 1 minute.", "Add 1 tablespoon of Crème de Framboise raspberry liqueur, stir delicately and take the pan off the heat.", "To finish your dessert, place a small quenelle of very fresh Brocciu and a spoonful of stir-fried raspberries in the centre of each, fold them and arrange on the serving dish.", "Sprinkle the contents of another punnet of raspberries on top." ], "author": "" }
- Assistant
{ "data": "FR" }