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": "Chocolate Syrup", "description": "You will want to use this rich chocolate syrup to top everything from frozen dessert sundaes to chocolate cake. Add it to non-dairy milk for a special breakfast.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "½ cup plus 1 tablespoon (135 ml) Hemp Milk (page 31) or non-dairy milk of choice", "2 tablespoons organic cane sugar", "2 tablespoons brown rice syrup", "½ teaspoon Vanilla Extract (page 288)", "¼ cup (26 g) natural unsweetened cocoa powder", "1 tablespoon chocolate chips", "1 tablespoon shortening (see page 7)" ] } ], "instructions": [ "Combine the milk, sugar, brown rice syrup, and vanilla in a medium saucepan. Heat over medium-low heat, until the sugars are melted.", "Whisk in the cocoa and bring to a boil over medium heat. Boil until the mixture is smooth and slightly thickened, about 5 minutes.", "Remove the pan from the heat and whisk in the chocolate chips and shortening until all of the ingredients are fully incorporated.", "Let the chocolate syrup cool to room temperature before transferring it to a jar. Cover and refrigerate for up to 2 months." ], "author": "" }
- Assistantjson
{ "data": "WWW" }