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": "TURKEY-PORK MEATLOAF WITH SMOKY TOMATO SAUCE", "description": "Making a foil sling for the meatloaf allows you to easily get it into and out of the slow cooker. Poking holes in it ensures that the fats and cooking juices will drain off during cooking and allow the meatloaf to develop a nice browned crust.", "subtitle": "", "ingredients": [ { "section": "FOR THE MEATLOAF", "ingredients": [ "2 large eggs, lightly beaten", "¼ cup almond flour", "1 teaspoon salt", "½ teaspoon black pepper", "½ teaspoon dry mustard", "½ teaspoon dried thyme", "½ cup coarsely chopped yellow onion", "½ small red bell pepper, coarsely chopped", "1 medium carrot, coarsely chopped", "2 cloves garlic, peeled", "1 package (19 ounces) ground turkey breast", "8 ounces lean ground pork" ] }, { "section": "FOR THE SAUCE", "ingredients": [ "½ cup hot water", "4 medjool dates, pitted", "1 can (6 ounces) Whole30-compliant tomato paste", "2 tablespoons cider vinegar", "½ teaspoon onion powder", "½ teaspoon garlic powder", "½ teaspoon salt", "¼ teaspoon smoked paprika" ] }, { "section": "For the recipe", "ingredients": [ "4 small sweet potatoes, scrubbed and pricked with a fork", "Chopped fresh parsley", "Clarified Butter (page 296) or ghee" ] } ], "instructions": [ "MAKE THE MEATLOAF: In a medium bowl, stir together the eggs, almond flour, salt, pepper, dry mustard, and thyme.", "IN a food processor, combine the onion, bell pepper, carrot, and garlic. Cover and pulse until finely chopped. Stir into the egg mixture. Add the turkey and pork; mix gently to combine (do not overmix). Poke a few holes in a 12 x 18-inch piece of foil for drainage. Shape the meat mixture into two 6 x 3-inch loaves and place on the foil.", "PLACE a steamer rack in a 4-quart slow cooker. Add 1 cup water to the cooker. Use the foil to lower the loaves onto the rack. Tuck the foil into the pot.", "COVER and cook on low for 4 to 4½ hours or on high for 2 to 24 hours, or until a thermometer inserted into the loaves registers 160°F.", "MEANWHILE, MAKE THE SAUCE: In a small bowl, pour the hot water over the dates and let sit until softened, about 5 minutes. In a food processor or blender, combine the dates and soaking water, tomato paste, vinegar, onion powder. garlic powder, salt, and paprika. Cover and process until smooth.", "MICROWAVE the sweet potatoes until tender, turning once, 8 to 10 minutes.", "ADJUST an oven rack to 8 inches below the broiler. Preheat the broiler and line a baking sheet with foil. Use the foil to transfer the loaves to the baking sheet. Spoon about ½ cup of the sauce over each loaf. Broil just until the sauce starts to bubble, 4 to 5 minutes.", "TOP the loaves with parsley and serve with the sweet potatoes topped with clarified butter." ], "author": null }
- Assistant
{ "data": "WWW" }