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": "Spaghetti Breakfast Pizza A.K.A. The Fripastza", "description": "Both Ky and I spent a lot of time as kids with our Italian grandparents. For the most part this is where we learned to love and cook food. My nonno was a firm believer that no food ever went to waste. Sometimes we had a little bit of leftover spaghetti from the day before-not enough to make a full plate of pasta but enough to use for something else. He would chop up some tomatoes or leftover sausage and toss it in a bowl with the pasta and a couple of eggs, mix it around, and fry it. The result was an amazingly crispy creation that was part frittata, part pasta. My version is a little different, as the crispy spaghetti is cooked separately, becoming almost like a pizza crust to be topped with sauce and eggs. There's something about biting into that first piece of crunchy pasta that reminds me of all the mornings I spent with my nonno having breakfast with coffee and orange wedges.", "subtitle": null, "ingredients": [ { "section": "Baked Pasta Frittata", "ingredients": [ "7 ounces (200 g) dried spaghetti (or about 1 cup/250 mL cooked spaghetti)", "2 teaspoons (10 mL) olive oil, divided", "½ teaspoon (2 mL) salt", "2 large eggs" ] }, { "section": "Pizza Sauce", "ingredients": [ "2 tablespoons (30 mL) canola oil", "1 cup (250 mL) diced yellow onion", "1/4 cup (60 mL) minced garlic", "1 can (14 ounces/398 mL) crushed tomatoes", "½ teaspoon (2 mL) dried oregano", "½ teaspoon (2 mL) dried parsley", "½ teaspoon (2 mL) salt" ] }, { "section": "For Serving", "ingredients": [ "4 ounces (115 g) fresh bocconcini cheese, sliced", "2 tablespoons (30 mL) canola oil", "4 large eggs", "2 tablespoons (30 mL) freshly grated Parmesan cheese, for garnish", "Fresh basil leaves, for garnish", "1 tablespoon (15 mL) olive oil, for garnish" ] } ], "instructions": [ "IF YOU DON'T HAVE LEFTOVER PASTA...MAKE SOME!", "Bring a large pot of salted water to a boil over high heat.", "Add the spaghetti and cook until al dente, 6 to 8 minutes depending on the brand of pasta. (When in doubt, taste!)", "Drain the cooked spaghetti and transfer to a large bowl.", "Add 1 teaspoon (5 mL) olive oil and the salt; toss to coat.", "Set the spaghetti aside to cool. This can be done about an hour in advance or you can use leftover spaghetti.", "Preheat the oven to 425°F (220°C) and line a baking sheet with parchment paper.", "Add 2 eggs to the cooled spaghetti and mix thoroughly.", "Heat the remaining 1 teaspoon (5 mL) olive oil in a medium ovenproof frying pan over medium-high heat.", "Scrape the egg-soaked pasta into the pan and spread it out so the bottom of the pan is evenly covered.", "Turn the heat down to medium and cook for 5 minutes, or until the bottom of the pasta is crispy.", "Transfer the pan to the oven and bake for 5 minutes.", "Switch the oven to broil and cook for an additional 3 to 4 minutes, or until the top is golden and crispy.", "Remove the pan from the oven and tap it gently upside down on the prepared baking sheet to release the Baked Pasta Frittata.", "TIME TO SAUCE", "In a medium saucepan, heat the canola oil over medium-high heat for about 1 minute.", "Add the onions and garlic and cook, stirring constantly so they don't burn, for 2 to 3 minutes, or until the onions are soft.", "Stir in the tomatoes.", "Turn the heat down to medium-low and stir in the oregano, parsley, and salt.", "Cook the sauce for about 30 minutes, and stir every so often. If the sauce thickens too much, stir in a little bit of water.", "BAKE IT LIKE A PIZZA!", "Set the oven to broil.", "Top the Baked Pasta Frittata with the Pizza Sauce and sliced bocconcini.", "Broil for 5 minutes, or until the cheese begins to melt.", "TOP IT WITH SOME EGGS", "While the pizza is broiling, cook your eggs.", "In a medium frying pan heat the canola oil over medium-high heat.", "Crack the eggs into the pan and turn the heat down to medium.", "Cook the eggs sunny side up for about 5 minutes.", "Remove the Spaghetti Breakfast Pizza from the oven, sprinkle with Parmesan and basil leaves, drizzle with olive oil, and top with the sunny-side-up eggs." ], "author": null }
- Assistant
{ "data": "IT" }