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": "Cat Cookies", "description": "These cute cat cookies, inspired by the anime Kakegurui XX, are a delightful treat to share with friends. A thoughtful gift, just like in the show, they're sure to bring a smile to anyone's face.", "subtitle": null, "ingredients": [ { "section": "COOKIES", "ingredients": [ "¼ cup (55 g) unsalted butter, soft and at room temperature", "¼ cup (50 g) granulated sugar", "1 large egg", "1 teaspoon vanilla extract", "Pinch salt", "1 cup (120 g) all-purpose flour", "½ teaspoon baking powder" ] }, { "section": "ICING", "ingredients": [ "¼ cup (30 g) confectioners' sugar", "2½ teaspoons milk (or water), divided", "Red and brown gel food coloring", "½ teaspoon unsweetened cocoa powder" ] } ], "instructions": [ "To make the cookies: In a large bowl, using a hand mixer with a beater attachment, cream the butter and granulated sugar until combined and pale yellow.", "Add the egg, vanilla, and salt and mix on medium-high speed until fluffed, doubled in volume, and ribbons are left in the batter while mixing, 5 to 6 minutes.", "In a medium bowl, whisk the flour and baking powder until fully combined.", "Add the dry ingredients to the bowl with the wet ingredients and mix on medium speed until the dough comes together as a ball, about 3 minutes.", "Place the dough in between two pieces of parchment paper and roll to ¼-inch (6 mm) thickness with a rolling pin. Place in the freezer for about 30 minutes, or until the dough is rock hard.", "Make a cat stencil with parchment paper and a pencil. Start by tracing around the bottom of a drinking cup (with a diameter of around 2½ inches, or 6 cm). Draw cat ears on top of the circle by drawing 2 triangles with rounded points. Cut out the parchment-paper cat and erase any pencil markings.", "Take out the frozen dough from the freezer and place it on a cutting board. Remove the top piece of parchment paper and place the cat stencil on the dough as a guide to cut around. Cut out the cookies with a small knife and place them onto a baking tray lined with parchment paper.", "Place the cookies in the freezer again and preheat the oven to 350°F (175°C; gas mark 4).", "Bake the cookies for 8 to 9 minutes, or until slightly browned on the edges. Let cool completely on a rack before decorating.", "Meanwhile, make the icing: In a small bowl, mix the confectioners' sugar and 2 teaspoons of the milk until incorporated and thick.", "Divide the icing among three small bowls.", "Add 2 drops of red food coloring to one bowl, a scant drop of brown food coloring to another bowl for light brown, and the cocoa powder and remaining ½ teaspoon of milk to the third bowl for dark brown.", "Stir to incorporate the colors into the icing.", "Place each icing color in a small piping bag. Place the smallest tip on each piping bag or cut a tiny hole at the tip of each piping bag and draw the facial details on the cooled cookies.", "With the red icing, draw circles for the eyes and fill them in.", "With the light brown icing, draw a wide oval for the nose and a horizontal D shape for the smile and fill them in.", "With the dark brown icing, add 3 thick lines for whiskers at the side edges of each cookie.", "Let the icing set at room temperature before gifting to your friends." ], "author": null }
- Assistantjson
{ "data": "WWW" }