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é.
code1. 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": "Potato Wedges with Gorgonzola Sauce", "description": "Lively, scrunchy, homely and fun.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1kg medium-sized floury potatoes", "Gorgonzola cheese", "8 smoked streaky bacon rashers", "1 tablespoon of dried chilli flakes", "4 tablespoons of groundnut oil", "1 tablespoon of smoked paprika", "250ml double cream", "150g cubed or crumbled Gorgonzola cheese" ] } ], "instructions": [ "Scrub 1kg medium-sized floury potatoes but don't peel them.", "Cut each in half lengthways, then into thick wedges, 3 or 4 to each half.", "Cook in boiling salted water for 15 minutes, until they are approaching tenderness.", "Drain and tip into a roasting tin.", "Set the oven at 200°C/Gas 6.", "Cook 8 smoked streaky bacon rashers in a shallow pan with a little oil till very crisp.", "Tip into a food processor, add a tablespoon of dried chilli flakes, 4 tablespoons of groundnut oil and a tablespoon of smoked paprika and blitz till the mixture resembles very fine crumbs.", "Tip the crumbs over the potato wedges and toss gently to coat.", "Bake for an hour or so, till the wedges are crisp and sizzling.", "To make the sauce, warm 250ml double cream in a small non-stick saucepan, add 150g cubed or crumbled Gorgonzola cheese and stir gently till the cheese has melted.", "Trickle the warm sauce over the wedges or serve as a dip." ], "author": null }
- Assistantjson
{ "data": "IT" }