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": "Halloween Vegan Yacon Syrup Cookies", "description": null, "subtitle": null, "ingredients": [ { "section": "Cookies", "ingredients": [ "2½ cups gluten-free flour", "1 teaspoon baking soda", "½ teaspoon ground ginger", "½ teaspoon ground cinnamon", "1/4 teaspoon ground nutmeg", "1 dash salt", "½ cup coconut oil, or more as needed", "½ cup yacon syrup", "2½ tablespoons melted dark chocolate (85% cacao)" ] }, { "section": "Icing", "ingredients": [ "¼ cup yacon syrup" ] } ], "instructions": [ "Preheat the oven to 340 degrees F (170 degrees C). Line a baking sheet with parchment paper.", "Combine flour, baking soda, ginger, cinnamon, nutmeg, and salt in a large bowl. Combine coconut oil and yacon syrup in a separate bowl. Add oil mixture to dry ingredients and mix until dough forms.", "Roll dough out to about 1/2-inch thickness. Use Halloween-themed cookie cutters to cut out cookies; place them on the prepared baking sheet.", "Bake in the preheated oven for 10 minutes.", "While cookies bake, combine yacon syrup and melted chocolate.", "Remove cookies from oven and apply icing while still hot." ], "author": null }
- Assistantjson
{ "data": "WWW" }