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": "Big Donut from Zootopia", "description": "Here is something that you do not usually see in donuts stores but was featured in the movie Zootopia. This recipe is for a donut that is 9 inches in diameter. Who wouldn't want that, right?", "subtitle": "THE DONU", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3/4 cup of milk (warm)", "2½ cup of all-purpose flour", "1 pack of active dry yeast", "2 tsp sugar (granulate)", "3/4 tsp almond extract", "1/4 tsp salt", "2 tbsp unsalted butter", "Bench flour", "2 egg yolks", "Sprinkles" ] }, { "section": "Ganache", "ingredients": [ "1 cup of heavy cream", "2 cups of chocolates", "1 tbsp corn syrup" ] }, { "section": "Royal Icing", "ingredients": [] } ], "instructions": [ "Combine the sugar, yeast and warm milk in a mixing bowl. Let it rest for 10 minutes.", "Once the yeast is activated in the mixture, transfer it into a larger bowl and add in the almond extract, butter, and egg yolks.", "Pour in half the amount of flour prepared with the salt. Stir until everything is mixed well then add the remaining flour. Knead the dough for a few minutes.", "Transfer the down in another bowl which was greased with oil. Let it grow twice its size.", "Roll the dough into a circle and connect the ends or punch a hole in the middle using a round cookie cutter to create the donut shape.", "Preheat an oven to 350 degrees F. Fry the donut on each side for 2 minutes.", "Remove the donut from the oil and let it sit in a paper towel so that the excess oil is absorbed.", "Place the donut into a baking sheet and bake it in the oven for 5 minutes.", "Remove from the oven and let it cool before putting on the ganache.", "Ganache:", "Prepare a pan with boiling water and a stainless or glass bowl. Chop the chocolate into small pieces and place it into the bowl to melt.", "In another pan, heat the cream.", "Mix the hot cream into the melted chocolate then pour in the corn syrup.", "Let the mixture sit for 3 minutes while stirring occasionally to fully melt all the chocolate.", "Pour on the donut once it has cooled down.", "Decorate." ], "author": null }
- Assistant
{ "data": "WWW" }