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": "Lamb Meatball with Spicy Tomato Chutney", "description": "New Zealand has been part of the EPCOT International Food & Wine Festival since 1997, and as New Zealanders love their lamb, it's been featured on every Marketplace menu. These tender meatballs, topped with a sweet and savory tomato chutney, were a guest favorite in 2012. Add more chili flakes to the chutney if you prefer a little more heat. The meatballs are served in a small popover for easy eating at the festival.", "subtitle": "Festival Favorite to Remember", "ingredients": [ { "section": "For Lamb Meatballs", "ingredients": [ "2 tablespoons extra-virgin olive oil", "1/2 cup finely chopped onion", "2 cloves garlic, chopped", "1/2 teaspoon chopped fresh thyme", "1/2 teaspoon chopped fresh rosemary", "1/4 teaspoon chili flakes", "1/4 teaspoon ground cumin", "1/2 cup finely chopped fresh tomatoes", "coarse salt, to taste", "freshly ground black pepper, to taste", "1 cup torn French bread, without crust", "1/2 pound ground lamb" ] }, { "section": "For Spicy Tomato Chutney", "ingredients": [ "1/2 cup chopped onion", "6 plum tomatoes, chopped", "1/4 cup white wine vinegar", "2 tablespoons light brown sugar", "1 teaspoon sugar", "1 tablespoon minced garlic", "5 leaves fresh basil", "2 sprigs fresh thyme", "1/2 teaspoon chili flakes", "coarse salt, to taste" ] } ], "instructions": [ "Preheat oven to 350°F. Carefully heat oil in large sauté pan over medium heat.", "Add onions and garlic, cooking until translucent.", "Add thyme, rosemary, chili flakes, and cumin; cook 2 minutes more.", "Add tomatoes, cooking until mixture is combined and vegetables are soft.", "Season with salt and pepper.", "Transfer to a large bowl and set aside until cooled to room temperature.", "Place bread in a small bowl; add enough cool water to cover. Soak 10 minutes.", "Squeeze water out of bread, Place soaked bread in bowl with onion mixture.", "Add ground lamb and mix to combine.", "Form into 12 meatballs.", "Bake 20 minutes; remove from oven and keep warm until ready to serve.", "Combine all ingredients except salt in a small saucepan over high heat and bring to boil.", "Reduce heat to medium-low and simmer 45 to 60 minutes, or until chutney is thick. Season with salt.", "Place 3 meatballs on a small plate; top with a spoonful of chutney. Serve warm." ], "author": null }
- Assistantjson
{ "data": "NZ" }