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": "Macarons as sweet as the love between Linguini and Colette", "description": "An unexpected love story between Linguini and Colette. An assigned cleaner and an accomplished, independent chef. A love story no one could have imagined. They go together like icing and cake and it somehow reminds me of macarons. It is a famous French dessert. People from all over the world try this dessert when they visit Paris. Today, a lot of people even try to make macarons at home. It will be an amazing experience to try out macarons. So, let's try to learn this recipe.", "subtitle": null, "ingredients": [ { "section": "For the macarons", "ingredients": [ "100g egg whites", "100g powdered sugar", "100g almond flour.", "100g sugar", "Pinch of salt", "Food coloring" ] }, { "section": "For the stuffing", "ingredients": [ "6 tablespoons unsalted butter", "2 cups of powdered sugar", "1 teaspoon vanilla essence", "salt" ] } ], "instructions": [ "Preheat the oven to 300F.", "In a small container add water and heat it on medium flame.", "In another bowl, add egg whites, 3 tablespoons of regular sugar. Now, place this bowl over the heating container, creating a steamer.", "While the bowl is still on the steamer, mix egg white and sugar continuously. The sugar and egg white mixture should look foamy and light. The sugar should be completely incorporated into the egg whites.", "Once done, you can remove the pan from the heat.", "Now using an electric mixer whisk the mixture continuously at high speed.", "While the mixture is blending in the electric mixer, gradually add sugar to it.", "Once done, add the food color to the paste and keep mixing for another 2-3 minutes.", "In a different bowl add almond flour, regular sugar, and salt. Mix it. When done, add the dry ingredient mixture to the electric mixer along with other ingredients.", "Using an electric mixer, mix all the ingredients.", "When done, stop the mixer and add the remaining ingredients using a spoon and gently combine the batter.", "When the pasta is ready, transfer it to a plastic cone, with a 1-inch tip.", "Now, press the cone gently in the already kept aside baking sheets, making a circular-shaped pastry.", "After the macarons are placed in the baking tray, let them cool for 15-30 minutes. it should dry completely. Once done, bake them for 13 minutes on both sides.", "When the macarons are ready, let them chill for some time before removing them from the baking sheets.", "In a different bowl, add all the stuffing ingredients. With the help of an electric mixer, mix them effectively for about 2 minutes.", "Once done transfer the mixture into a piping bag.", "Once the macarons are finally ready, use the piping bag to fill the macarons. Use the stuffing between two macarons.", "Once done, your macarons are ready." ], "author": null }
- Assistant
{ "data": "FR" }