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": "Chilled melon soup with mint", "description": "Cette soupe de melon rafraîchissante avec de la menthe est un dessert léger et délicieux qui rappelle l'été.", "subtitle": "ice cubes", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2 bunches of mint", "half a litre of water", "3 large melons" ] } ], "instructions": [ "Make the mint ice cubes", "Take the leaves from 2 bunches of mint.", "Fill a large bowl with water and ice cubes and place another bowl on top.", "Heat half a litre of water in a saucepan.", "When it boils, immerse the mint leaves for 4 minutes.", "Drain with a slotted spoon.", "Blend them with a ladleful of cooking liquid until you have a smooth and even purée.", "Cool immediately in the bowl on top of the ice.", "Distribute this mint purée in ice-cube trays and freeze.", "Make the melon soup", "Put 4 bowls or fruit dishes to chill in the freezer.", "Cut 3 large melons in half, remove the seeds and all the filaments.", "Cut the flesh from 2 of the melons, blend into a smooth soup, adding a little water if it's too thick.", "Put in the fridge.", "With a melon baller, scoop the flesh from the whole of the third melon.", "Reserve these balls in the fridge too.", "When you are ready to serve, distribute the melon soup in the chilled bowls or dishes.", "Drop the small melon balls on top, add a few mint ice cubes and serve immediately." ], "author": "" }
- Assistant
{ "data": "WWW" }