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": "Cornbread Bites", "description": "Cornbread was first made by Native Americans and thus might be considered the national bread of North America. It's no wonder we love it so much! This low-sugar, bite-sized version is perfect for stashing in a lunch box. Both little hands and big hands are going to love them!", "subtitle": "MAKES 24 MINI-MUFFINS", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "128 grams (about 1 cup) Basic Flour Blend (page 23)", "116 grams (about 1 cup) corn flour", "¼ cup (33 g) plus 1 tablespoon cornmeal", "½ teaspoon xanthan gum", "3 teaspoons baking powder", "½ teaspoon salt", "¼ cup (60 ml) agave nectar", "1 cup (240 ml) coconut milk beverage or non-dairy milk of choice", "2 teaspoons fresh lemon juice", "½ cup (120 ml) sunflower oil", "½ cup (120 g) Applesauce (page 45)" ] } ], "instructions": [ "1. Preheat the oven to 350°F (180°C). Grease the cups of a 24-cup mini-muffin pan.", "2. Combine the flours, 1/4 cup (33 g) cornmeal, xanthan gum, baking powder, and salt in a medium bowl.", "3. Blend the agave nectar, milk, lemon juice, oil, and applesauce together in a large bowl, using a mixer on medium speed or by hand with a spoon, about 1 minute.", "4. Add the dry ingredients to the wet ingredients and mix for 1 to 2 minutes, until completely combined.", "5. Spoon the batter evenly into the cups of the prepared mini-muffin pan. Sprinkle the tops of the muffins with the remaining cornmeal. Bake for 18 to 20 minutes, until the tops are golden and a toothpick inserted comes out clean.", "TO FREEZE Muffins that won't be eaten within 2 to 3 days can be frozen in an airtight container for up to 6 months. Thaw and reheat at 325°F (165°C) for 6 to 7 minutes." ], "author": "" }
- Assistantjson
{ "data": "WNA" }