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": "Tuna and Cucumber Salad", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "240g new potatoes", "1 medium-sized cucumber", "a mere pinch of caster sugar", "1 tablespoon of white wine vinegar", "1 tablespoon of Dijon mustard", "a little salt and pepper", "1 tablespoon of olive oil", "2 tablespoons of chopped dill", "125g best-quality drained canned tuna in olive oil", "a handful of purple niçoise olives" ] }, { "section": "Tuna, aubergine, basil and lemon", "ingredients": [ "1 large aubergine", "olive oil", "2 finely sliced garlic cloves", "a handful of chopped basil and chives", "1 160g can of tuna", "juice of a lemon", "300g spaghetti" ] }, { "section": "Tuna and tomato bruschetta", "ingredients": [ "sourdough bread", "ripe tomato", "tuna", "salsa verde (olive oil, lemon juice, rocket, basil, parsley, anchovy, capers, no garlic)" ] } ], "instructions": [ "Wipe 240g new potatoes clean, removing any loose flakes of skin, then boil them in plenty of salted water till just tender.", "Lightly peel a medium-sized cucumber, cut it in half lengthways, then scrape out the seeds and pulp from the centre with a teaspoon, reserving them for the dressing.", "Cut the cucumber into finger-thick chunks and place in a large mixing bowl.", "Make the dressing: put a mere pinch of caster sugar in a blender or food processor, add a tablespoon of white wine vinegar, a tablespoon of Dijon mustard, a little salt and pepper and the reserved seeds and pulp from the cucumber.", "Pour in a tablespoon of olive oil and blitz briefly to a smooth, creamy dressing.", "Tip the dressing on to the cucumber, add 2 tablespoons of chopped dill and stir gently.", "Drain the potatoes, then cut each one into about 4 thick coins.", "Add the warm potatoes to the cucumber, along with 125g best-quality drained canned tuna in olive oil, turning them over carefully in the dressing so they are evenly coated.", "Scatter over a handful of purple niçoise olives.", "Cut a large aubergine into large dice and cook slowly in olive oil in a shallow pan.", "When it is golden and silkily soft, add 2 finely sliced garlic cloves and continue cooking for a couple of minutes, till the garlic starts to colour.", "Add a handful of chopped basil and chives.", "Drain a 160g can of tuna, gently break up the tuna and stir it into the aubergine.", "Squeeze over the juice of a lemon.", "Boil 300g spaghetti in deep, generously salted water for 9 minutes.", "Toss the sauce lightly with the drained pasta.", "Toast some sourdough bread and, while it is hot, pile on to it a few slices of ripe tomato, a handful of tuna and a spoonful of salsa verde made in the blender (olive oil, lemon juice, rocket, basil, parsley, anchovy, capers, no garlic)." ], "author": null }
- Assistant
{ "data": "FR" }