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": "Banana Cheesecake", "description": null, "subtitle": "Creamy, vanilla scent, ginger crumbs.", "ingredients": [ { "section": "For the crumb crust", "ingredients": [ "60g butter", "3 tablespoons of double cream", "275g open-textured ginger biscuits" ] }, { "section": "For the filling", "ingredients": [ "200g white chocolate", "200ml double cream", "A couple of drops of vanilla extract", "600g cream cheese" ] }, { "section": "For the topping", "ingredients": [ "3 bananas", "Juice of a lemon" ] } ], "instructions": [ "To make the crumb crust, melt 60g butter in a small saucepan and add 3 tablespoons of double cream.", "Crush 275g open-textured ginger biscuits in a food processor, then stir into the melted butter mixture.", "When all the crumbs are moist, set about 3 tablespoons of them aside, then tip the rest into a 20cm loose-bottomed cake tin and smooth them gently, but avoid compacting them. You want a loose, crumbly crust.", "To make the filling, place a heatproof bowl over a saucepan of simmering water, making sure the water doesn't touch the base of the bowl.", "Break 200g white chocolate into small pieces and drop them into the bowl, leaving them, unstirred, to melt.", "As soon as the chocolate has melted, turn off the heat, pour in 200ml double cream and add a couple of drops of vanilla extract.", "Slowly stir the cream and chocolate together.", "Tip 600g cream cheese into a bowl and fold the white chocolate and cream mixture into it.", "Scoop the filling on top of the crumb crust, smooth the surface level, then cover with cling film and refrigerate for at least 3 hours.", "To finish, peel and slice 3 bananas, toss them in the juice of a lemon, then pile them on top of the chilled cheesecake.", "Scatter over the reserved crumbs (if they have set, then simply break them up a bit first)." ], "author": null }
- Assistant
{ "data": "WNA" }