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": "Animal Crackers", "description": "The animal crackers I remember came in a box with a ribbon handle, designed for young children to be able to carry around. My parents would buy a box for each of my siblings and me, and through a series of strategic trades my older sister usually ended up with most of the cookies in her box by the end of the day. Nostalgia aside, there's no reason why these cookies need to be saved for the kids, and there's no reason why they can't be formed into any shape you choose. Take a bite of one of these cookies and, if you're lucky, you might taste a lion or a bear.", "subtitle": "MAKES ABOUT 60 COOKIES", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "98 grams (about 3/4 cup) Pastry Flour Blend (page 24)", "28 grams (about 1/4 cup) gluten-free oat flour", "½ teaspoon xanthan gum", "1/4 cup (42 g) Sucanat", "½ teaspoon baking powder", "1/4 teaspoon salt", "3 tablespoons shortening (see page 7), cold", "1 tablespoon apple cider vinegar", "1½ teaspoons Vanilla Extract (page 288)", "Up to 2 tablespoons cold water" ] } ], "instructions": [ "Preheat the oven to 375°F (190°C). Line a large baking sheet with parchment paper.", "Combine the flours, xanthan gum, sugar, baking powder, and salt in a large mixing bowl.", "Cut the shortening into tablespoon-sized pieces and lay them on top of the flour. Use a pastry cutter, a pastry fork, or your hands to work the shortening into the flour. Continue working for 3 to 4 minutes, until a crumbly mixture forms.", "Add the vinegar, vanilla, and 1 tablespoon of water. Work the liquids into the dough. Add up to 1 tablespoon more cold water as needed, ½ tablespoon at a time, until the dough forms. (See Preparing Cookie Dough on page 236.)", "Roll the dough between two pieces of parchment paper, about ¾ inch (10 mm) thick. Remove the top layer of parchment and use cookie cutters to create desired shapes.", "Remove the excess dough, roll it out again, and create additional cookies, until all of the dough is used. Arrange the cookies on the lined baking sheet. If you are using animal cookie cutters, a plastic toothpick can be used to poke holes for the eyes.", "Bake for 9 to 10 minutes, until the tops are golden. Let the cookies cool on the baking sheet for 5 minutes, then transfer them to a cooling rack." ], "author": "" }
- Assistantjson
{ "data": "WNA" }