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": "Sweet Bread", "description": "Sweet Bread, or "pain sucré," is a spongy bread that was brought to Côte d'Ivoire by Ghanaian immigrants. It's also commonly associated with Bassam, the site of the country's colonial capital. Bassam is home to many groups of Akan people, including my father's, the Nzima. The Akan people are mostly distributed between Ghana and Côte d'Ivoire, and for hundreds of years, their culinary borders have been fluid. Today, these sweet rolls are an integral part of Ivorian street food, eaten at all times of day. I love to eat them, as is or toasted, with breakfast or as a snack. They're also great for sandwiches.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ cup (120 ml) warm water", "1 teaspoon active dry yeast", "1 cups (250 g) all-purpose flour", "½ cup (60 g) sugar", "% vanilla bean, scraped", "1½ teaspoons salt", "3 tablespoons vegetable oil" ] } ], "instructions": [ "Mix the warm water and yeast together in a small bowl. Let proof for 5 minutes.", "Mix the flour, sugar, and vanilla together in a medium bowl or a stand mixer. Add the yeast mixture.", "Knead the dough for about 5 minutes, then add the salt. Incorporate the oil slowly, one tablespoon at a time. Continue kneading until the dough is smooth and elastic, about 10 minutes.", "Form the dough into a ball and place in a large bowl. Cover with plastic wrap and let rise for 2 hours, until doubled in size.", "Flour a work surface, roll out the dough, and reform it into a large ball. Wrap with plastic wrap and let sit in the refrigerator for 3 hours.", "Divide the dough into 10 equal pieces. Form each piece into a compact ball, then place on a baking sheet. Cover with plastic wrap and let sit for 1 hour, 30 minutes.", "Preheat the oven to 350°F (180°C) and bake the rolls for 15 minutes, until golden brown." ], "author": null }
- Assistantjson
{ "data": "CI" }