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": "Holiday Ham Slider with Pineapple Cherry Jam", "description": "Building on the concept of Holidays around the World at EPCOT, Disney California Adventure debuted Disney Festival of Holidays in 2016. The Disney chefs have fun creating indulgent small bites for the Festival Food Marketplaces with whimsical names such as "Joy to the Sauce," "Making Spirits Bright," and "Winter Sinderland." Global music fills the air, and it all culminates in January with a jubilant celebration of Three Kings' Day.", "subtitle": "Festival Favorite to Remember", "ingredients": [ { "section": "PINEAPPLE CHERRY JAM", "ingredients": [ "2 tablespoons butter", "1 white onion, diced", "1 fresh pineapple, cored and diced", "1/2 cup apple cider vinegar", "1/4 cup sugar", "1/4 cup dried cherries", "2 tablespoons yellow mustard", "Coarse salt, to taste" ] }, { "section": "HAM SLIDER", "ingredients": [ "8 brioche buns", "2 tablespoons softened butter", "1/2 pounds applewood smoked ham, sliced medium thickness" ] } ], "instructions": [ "FOR PINEAPPLE CHERRY JAM", "1 Melt butter in medium saucepan. Add onion and cook for 5 minutes, or until translucent.", "2 Add pineapple, vinegar, and sugar; cook on low heat for 45 minutes, until vinegar and pineapple juices are reduced and pineapple begins to break down.", "3 Stir in cherries and mustard; season with salt.", "4 Refrigerate until ready to serve.", "FOR HAM SLIDER", "1 Preheat griddle or skillet over medium heat. Cut brioche buns in half and spread butter on cut side. Toast on hot griddle for 1 minute, or until golden brown.", "2 Heat a sauté pan over medium heat and warm ham.", "3 Evenly divide ham on warm brioche buns and top with jam." ], "author": null }
- Assistant
{ "data": "WNA" }