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é.
1. 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": "Fig-Filled Cookies", "description": "This allergen-free version of a certain popular cookie uses Figgy Pear Jam (page 85) as the filling, A but feel free to choose another jam to fill yours.", "subtitle": "cookie filled with jam-now that's decadent.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "98 grams (about 3/4 cup) Pastry Flour Blend (page 24)", "80 grams (about ½ cup) buckwheat flour", "½ teaspoon xanthan gum", "¼ cup (55 g) organic cane sugar", "¼ teaspoon salt", "6 tablespoons shortening (see page 7), cold", "1 tablespoon apple cider vinegar", "½ teaspoon Vanilla Extract (page 288)", "3 tablespoons coconut milk beverage or non-dairy milk of choice", "½ cup (140 g) Figgy Pear Jam (page 85)" ] } ], "instructions": [ "Combine the flours, xanthan gum, sugar, 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 milk. Work the liquids into the dough. (See Preparing Cookie Dough on page 236.)", "Separate the dough into two equal sections. Roll each section between two pieces of parchment paper to create two sheets of dough about 4 inches (10 cm) wide, 8 inches (20 cm) long, and 4 inch (6.5 mm) thick in the center, with the edges tapering to a thinner 1 inch (3 mm) thick.", "Spread half of the jam down the center of one dough sheet. Fold one side of the dough over the jam, then fold the second side over the first to create a log. Gently flip the log over so that the folded side is on the bottom; repair any cracks with a small amount of water and your fingers. Repeat this process with the second sheet and the remaining jam. Refrigerate the filled logs for at least an hour. (If you plan to refrigerate longer than an hour, wrap the logs in plastic.)", "When you are ready to bake the cookies, preheat the oven to 350°F (180°C). Line a large baking sheet with parchment paper.", "Slice each log into 8 cookies, about 1 inch (2.5 cm) long. Place the cookies on the baking sheet, with space in between.", "Bake for 14 to 16 minutes, until lightly browned. Let the cookies cool on the baking sheet for 5 minutes, then transfer them to a cooling rack. Store them in an airtight container at room temperature for up to 2 days." ], "author": "" }
- Assistant
{ "data": "WWW" }