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": "Elvis French Toast", "description": "Everyone knows that the musical genius Elvis Presley had a pretty weird diet, including bacon, peanut butter, and banana sandwiches. This French toast is a decadent layering of peanut butter sandwiched between fluffy, sweet slices of egg bread and topped with maple-syrup candied bacon and bananas. It'll have you singing thank you, thank you very much.", "subtitle": "Breakfast fit for a king. Wait, not a king-the king.", "ingredients": [ { "section": "Bacon Banana Drizzle", "ingredients": [ "5 strips bacon, cut into ¼-inch (5 mm) pieces", "2 bananas, sliced", "2 tablespoons (30 mL) brown sugar", "1/4 cup (60 mL) pure maple syrup" ] }, { "section": "French Toast", "ingredients": [ "4 large eggs", "1/2 cup (125 mL) 2% or whole milk", "½ teaspoon (2 mL) cinnamon", "½ teaspoon (2 mL) pure vanilla extract", "1 tablespoon (15 mL) unsalted butter (with extra in case you need to frequently butter your pan)", "12 slices challah bread" ] }, { "section": "For Serving", "ingredients": [ "1/2 cup (125 mL) peanut butter", "Pure maple syrup" ] } ], "instructions": [ "Heat a medium frying pan over high heat and cook the bacon until crispy.", "Use a slotted spoon to remove the bacon from the pan and place it on paper towels to drain.", "Drain the fat from the pan, wipe it out with paper towel, and place it over medium heat.", "Add the bananas and brown sugar and heat, stirring continuously to ensure the sugar does not burn.", "When the brown sugar has melted, add the bacon bits and maple syrup.", "Simmer gently until reduced by a quarter.", "Remove from the heat and keep warm.", "In a medium bowl, whisk together the eggs, milk, cinnamon, and vanilla.", "Heat the butter in a non-stick frying pan over medium heat.", "One slice at a time, dip the challah bread into the egg mixture and transfer directly to the pan to cook for 2 to 3 minutes on each side, until golden brown.", "Repeat with the remaining challah, adding more butter to the pan if needed.", "To keep the finished slices warm, cover with a small clean kitchen towel or pot lid.", "To assemble, spread a thin layer of peanut butter on 8 slices of French toast.", "On each plate, stack 2 peanut-butter-topped slices and top with a third plain slice.", "Top each Elvis French Toast stack with a generous portion of Bacon Banana Drizzle.", "Serve with extra maple syrup on the side." ], "author": null }
- Assistantjson
{ "data": "US" }