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": "Savoury custards: courgette and bay leaf, aubergine and coconut milk", "description": "Have you tried savoury custards? Simple, delicious and healthy, they are a really different way to cook and serve vegetables. These ones can be served as main courses, or as side dishes with chicken or pork. If your children don't like vegetables, you might be able to tempt them to eat them like this!", "subtitle": "", "ingredients": [ { "section": "Courgette and bay leaf custard", "ingredients": [ "80 ml/2½ fl oz double (heavy) cream", "30 ml/1 fl oz milk", "1 bay leaf", "200 g/7 oz courgettes (zucchini)", "2 whole eggs", "1 egg yolk", "20 g/4 oz melted butter + extra for the moulds", "fine salt" ] }, { "section": "Aubergine and coconut milk custard", "ingredients": [ "1 aubergine (eggplant)", "splash of olive oil", "80 ml/2½ fl oz coconut milk", "30 ml/1 fl oz milk", "2 whole eggs", "1 egg yolk", "20 g/3/4 oz butter", "5 g/4 oz turmeric", "fine salt" ] } ], "instructions": [ "1-Courgette and bay leaf custard\nHeat the cream and the milk in a saucepan. Add the bay leaf and leave to infuse for a few minutes, then remove the bay leaf. Meanwhile, trim and finely slice the courgettes, then cook in boiling salted water for 2-3 minutes. Drain, refresh under cold water to preserve their colour, then drain again. Blend in a food processor with all the other ingredients, then carefully fill 4 buttered ramekins or dariole moulds.", "2-Aubergine and coconut milk custard\nPreheat the oven to 180°C (350°F; gas mark 4). Halve the aubergine, season the flesh with salt, then drizzle lightly with olive oil. Thoroughly wrap each half in foil, then bake for 30 minutes. Remove from the oven, open the foil parcels, then scoop out the aubergine flesh with a spoon. Blend in a food processor with all the other ingredients, then carefully fill 4 buttered ramekins or dariole moulds.", "3-Cooking the custards\nCover the ramekins or moulds with cling film and place in a bain-marie. Cook in an oven preheated to 180°C (350°F; gas mark 4) for about 20 minutes. Keep an eye on them: the cooking time will depend on the size of the moulds used, so insert the tip of a sharp knife to check whether the custards are completely set. Carefully unmould onto plates and eat hot.", "Tip To cook the custards in a bain-marie in the oven, put the ramekins or moulds into a large baking dish or roasting tin half-filled with water, then put the whole thing in the oven.", "Variation | Try other flavours: (bell) pepper, pumpkin, spinach..." ], "author": "" }
- Assistant
{ "data": "WWW" }