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": "Kiki's Chocolate Cake", "description": "In Kiki's Delivery Service, Kiki delivers a herring and pumpkin pie, then a delicious chocolate cake. This cake symbolizes friendship and comfort. It's a treat for both taste buds and the heart.", "subtitle": null, "ingredients": [ { "section": "For the cake", "ingredients": [ "4 eggs", "1 1/2 cups plus 2 tablespoons (320 grams) sugar, divided", "1/4 cup milk", "1/2 teaspoon vanilla extract", "1/4 cup (35 grams) flour", "3/4 cup plus 2 tablespoons (100 grams) cocoa powder, divided", "2 teaspoons baking powder" ] }, { "section": "For the icing", "ingredients": [ "1/2 cup water", "1/2 cup cream", "5 or 6 gelatin sheets", "Fondant in white, green, and red (optional)" ] } ], "instructions": [ "Separate the egg yolks and whites into two different mixing bowls. Beat the yolks, then add 4 tablespoons (50 grams) of sugar. Stir until smooth.", "Pour in the milk and vanilla, and sift in the flour, ½ cup of cocoa powder, and the baking powder. Stir well.", "Beat the egg whites until frothy, then pour in another 4 tablespoons (50 grams) of sugar, one-third at a time. Stop beating before the egg whites become too firm; they should be slightly runny.", "Fold the egg whites into the batter. Pour the batter into a greased or lined round cake pan. Preheat the oven to 250°F.", "Place the cake pan into a larger dish containing hot water to create a double boiler. Place the entire dish in the oven, and bake at 250°F for 20 minutes, 300°F for 20 minutes, 230°F for 30 minutes, and then 350°F for 5 minutes. Remove and let cool.", "In a saucepan, boil the water with the remaining sugar. When the liquid turns opaque, remove it from the heat.", "Add the remaining cocoa powder and the cream. Whisk together and return the saucepan to the heat.", "Place the gelatin sheets in a container with cool water for 1 minute. When the gelatin sheets have softened, add them to the saucepan and stir.", "When the icing is smooth and even, strain and let cool.", "Remove the cake from the pan, and place it on a wire rack. Pour the icing in an even layer over the cake. Set aside.", "Optional: Knead the fondant to form slightly soft balls, then roll them out with a rolling pin.", "Optional: On a sheet of paper, draw Kiki the witch, Jiji the cat, a small pine tree, and the letters KIKI, as shown. Cut the fondant to match the shapes, and arrange the fondant decorations on the cake." ], "author": null }
- Assistant
{ "data": "WWW" }