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": "Homemade Buttery Spread", "description": "You may be delighted to discover that it is possible to make a non-dairy "buttery" spread at home. This spread is an emulsion created with oils and a tiny bit of protein. It's a tasty alternative to butter on your baked potatoes or English Muffins.", "subtitle": "A non-dairy spread to delight your taste buds.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "10 tablespoons coconut oil", "3 tablespoons grapeseed oil", "3 tablespoons organic canola oil", "2 Flaxseed Eggs", "½ teaspoon fresh lemon juice", "½ teaspoon salt" ] } ], "instructions": [ "Heat the coconut oil in the microwave in a heat-resistant glass measuring cup with a pour spout, until just melted. Stir it to clarify and melt any tiny pieces, then let it sit to come back to near room temperature without solidifying.", "Combine the grapeseed and canola oils in a separate measuring cup with a spout.", "Combine the flaxseed eggs, lemon juice, and salt in a working glass or the container for your immersion blender, blender, or food processor. Pulse once or twice to combine the ingredients.", "With the blender on a low continuous pulse, pour a few drops of the grapeseed and canola oil mixture into the container. The slower you pour, the better. The mixture will start to thicken as emulsification occurs.", "Continue adding oil in a slow trickle, until all of the oil is incorporated. If the oil starts to pool on top of the mixture, slide your immersion blender up and down an inch or stop pouring until the oil combines.", "Add the coconut oil last, in a slow drip, until the mixture is completely combined and creamy.", "Spoon the buttery mixture into a silicone mold. Refrigerate for 4 to 5 hours, until completely set. Pop the buttery sticks out of the mold and transfer them to an airtight container. Refrigerate and use within 2 weeks." ], "author": "" }
- Assistant
{ "data": "WWW" }