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": "Chive Spelt Mini-Biscuits", "description": "These mini-biscuits are truly addictive! Flaky, loaded with chives, and boasting a delightful toasty taste, they're perfect served with scrambled tofu and gravy. Be warned, you might find yourself eating way more than you intended!", "subtitle": "Makes 18 biscuits", "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup almond milk (or your favorite nondairy milk)", "1 tablespoon apple cider vinegar", "2 cups spelt flour (see spelt tip page 171)", "2 teaspoons baking soda", "½ teaspoon salt", "½ cup nonhydrogenated vegetable shortening", "3/4 cup finely chopped chives.", "1 tablespoon agave nectar or pure maple syrup", "2 tablespoons olive oil" ] } ], "instructions": [ "Preheat the oven to 375°F. Lightly grease a baking sheet.", "Measure the milk in a large measuring cup and add the vinegar. Set aside to curdle.", "In a large mixing bowl, mix together the spelt, baking soda, and salt.", "Drop half the shortening into the flour in pieces and mix using your fingers.", "Add the rest of the shortening and mix until the dough looks like pebbly crumbs.", "Mix the chives into the dough.", "Meanwhile, add the agave and oil to the milk mixture, then pour it into the flour and use a fork to mix just until the dough is moistened.", "Use a tablespoon to scoop the dough into rounded biscuits and place on a baking sheet about 2 inches apart.", "Bake for 13 to 15 minutes. When ready, the biscuits should look a bit darker and be firm to the touch.", "Let cool for a few minutes but serve warm if you can." ], "author": null }
- Assistantjson
{ "data": "WWW" }