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": "Pancetta-crumbed Mozzarella Salad", "description": "Crisp bacon, soft mozzarella.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "12 thin slices of smoked pancetta", "a large ball of buffalo mozzarella", "2 large tomatoes", "4 small leaves of butterhead lettuce", "10g basil", "5 tablespoons of olive oil", "salt", "pepper" ] }, { "section": "With roast tomatoes and thyme", "ingredients": [ "small, ripe tomatoes", "olive oil", "thyme", "rosemary", "salt", "pepper", "mozzarella" ] }, { "section": "Crumbed and fried", "ingredients": [ "mozzarella", "seasoned, beaten egg", "breadcrumbs", "olive oil", "lemon wedges", "thick slices of ripe tomato" ] } ], "instructions": [ "Grill or fry 12 thin slices of smoked pancetta till very crisp, drain briefly on kitchen paper, then blitz to coarse crumbs in a food processor.", "Break a large ball of buffalo mozzarella into 4 pieces, then roll in the pancetta crumbs.", "Slice and lightly salt 2 large tomatoes and place on a plate with 4 small leaves of butterhead lettuce.", "Blitz 10g basil with 5 tablespoons of olive oil and a little salt and pepper.", "Place the crumbed mozzarella on the tomatoes and lettuce, then spoon over the basil dressing.", "Halve small, ripe tomatoes, trickle over olive oil then season with thyme, rosemary, salt and pepper and cook under an overhead grill.", "Tuck torn pieces of mozzarella amongst them.", "Slice the mozzarella thickly.", "Dip in seasoned, beaten egg and breadcrumbs, then fry in olive oil till crisp.", "Lemon wedges. Maybe some thick slices of ripe tomato." ], "author": null }
- Assistant
{ "data": "IT" }