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": "Lemon caramel custard", "description": "AD- This baked caramel custard tastes even better if you make it the day before. Experience shows that a long rest improves both flavour and consistency.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 litre de lait demi-écrémé", "1 gousse de vanille", "8 jaunes d'œufs", "4 œufs entiers", "100 g de sucre en poudre", "150 g de sucre en poudre", "jus de 2 citrons" ] } ], "instructions": [ "Pour 1 litre de semi-skimmed milk into a saucepan with 1 vanilla pod slit open and scraped, and heat.", "Mix 8 egg yolks, 4 whole eggs and 100 g of caster sugar (250 g required in total for the recipe) in a bowl.", "Beat until the mixture is nice and smooth, then gradually pour in the warm milk, beating as you go.", "Strain through a conical strainer.", "Then make the caramel. Squeeze the juice of 2 lemons.", "Put the remaining 150 g of caster sugar into a saucepan and melt gently until it turns golden.", "Quickly pour in the lemon juice, stirring well as you do so.", "Pour this hot caramel into small glass dishes, ramekins or a baking dish.", "Pour the egg mixture on top.", "Preheat your oven to 170 °C (gas mark 3 to 4).", "Put the glass dishes, ramekins or baking dish into a deep baking tray, add water to halfway up and bake in the oven for 20 to 25 minutes.", "Take out the tray.", "Allow the baked egg custard to cool then keep it cold until you are ready to serve." ], "author": "" }
- Assistant
{ "data": "FR" }