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": "Seared red tuna", "description": "Vodka and lemon go together very well... and not just in drinks! I often use this pairing in a very light mousse or in a beurre monté. It's a combination that works very well with tuna but also with other fish, such as sea bass.", "subtitle": "with warm vodka and lemon foam", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 x 100 g/3½ oz loin fillets of red tuna", "olive oil", "fine salt, freshly ground pepper", "50 ml/14 fl oz lemon juice", "100 ml/3½ fl oz celery juice", "50 ml/14 fl oz vodka", "10 g/½ oz sugar", "3 gelatine leaves, soaked in cold water", "3 teaspoons olive oil", "8 celery leaves", "fleur de sel" ] } ], "instructions": [ "1-Preparing the tuna", "Get the fishmonger to prepare the tuna.", "2-The foam", "be sure to ask for thick loin fillets.", "a saucepan.", "Put all the ingredients except the gelatine in.", "Heat the mixture and dissolve the drained and squeezed-out gelatine leaves in it.", "Check the seasoning, then pour into a siphon, insert 2 gas cartridges and chill until 30 minutes before serving.", "3-Cooking the tuna", "Season the fillets, then cook in a little olive oil for 1 minute on each side, making sure each side takes some colour.", "Leave to cool for a minute on a plate, then slice finely.", "4-Plating up", "Overlap the tuna slices on the plates, drizzle on a few drops of olive oil and scatter with fleur de sel.", "Decorate with the celery leaves and serve the foam on the side." ], "author": "" }
- Assistant
{ "data": "WWW" }