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": "Crème de la Crème from The Aristocats", "description": null, "subtitle": "This was the recipe that old sly fox Edgar used to lure the kittens he sold for profit. However, worry not because this version does not have any added sleeping pills in it. But it does have an addicting flavor profile that will keep you coming back for seconds.", "ingredients": [ { "section": "Cracker", "ingredients": [ "10 oz flour (All-purpose)", "3 teaspoon baking powder", "½ teaspoon kosher salt", "1 tablespoon granulated sugar", "6 tablespoon butter (cold)", "2 tablespoon vegetable oil", "½ cup of cold water" ] }, { "section": "Creme de la Creme", "ingredients": [ "1-pint heavy cream", "1-pint whole milk", "1 stick of vanilla bean", "1/4 teaspoon cinnamon (ground)", "1/4 teaspoon nutmeg (ground)", "Pinch of salt" ] } ], "instructions": [ "Combine the all-purpose flour with baking powder, salt, and sugar in a food processor.", "Add in the sliced butter with vegetable oil. Slowly pour in ice-cold water while mixing all the ingredients. When it starts to have a dough-like consistency, remove it from the food processor and cover with plastic wrap. Let it sit in the refrigerator for 15 minutes.", "Take the dough out of the fridge and roll it in a floured surface. It should be as thin as possible.", "Using a biscuit cutter, cut the dough to your desired shape. Then place it in a baking sheet lined with parchment paper.", "Poke 7 holes with even spaces in each dough. Bake in an oven at 400 degrees F for 15 minutes or until the crackers turn golden brown.", "Once fully baked, remove from the oven and immediately brush with butter and sprinkle with salt.", "Creme de la Creme:", "In a saucepan, combine the heavy cream and whole milk.", "Add in the vanilla bean pods together with the sugar, cinnamon, nutmeg, and salt.", "Stir until bubbles start to appear.", "Serve with the crackers on the side." ], "author": null }
- Assistant
{ "data": "WWW" }