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": "Spirited Away Red Bean Buns", "description": "While working in a supernatural bathhouse, Chihiro manages to free the spirit of a polluted river. In appreciation, the spirit gives her a strange dumpling. Chihiro tucks away the dumpling and then sits down with her co-worker, Lin, to eat an anpan after her hard day of work.\nThese sweet buns, which are as common in Japan as donuts are in America, are traditionally filled with red bean paste, but an anpan can also have a sesame or chestnut filling. The bun in the film is almost as big as Chihiro's face, and she seems to be making a meal of it.\nChihiro also tastes the strange dumpling, which makes her hair stand on end. She chases away the taste with another bite of anpan. Later, she uses the gift to release a spirit called No-Face from its voracious appetite. Balance is important in the Japanese diet, and Spirited Away repeatedly touches on the theme of gluttony. Whenever characters overeat, they are punished. Luckily for you, there's no need to worry about punishment from overeating these delicious Red Bean Buns!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1/2 cup milk", "1 tablespoon active dry yeast", "1/3 cup flour, divided", "Pinch of baking powder", "Pinch of salt", "2 ½ teaspoons sugar", "18 ounces red bean paste", "0.07 ounces (2 grams) agar-agar powder", "Olive oil to prevent sticking" ] } ], "instructions": [ "Add the milk, yeast, 1 cup of flour, baking powder, salt, and sugar to a large mixing bowl, and stir thoroughly to form a soft dough.", "Turn out the dough onto a floured work surface, and sprinkle generously with flour. Roll out the dough, add more flour as needed, and so on. Continue to work the dough for 10 to 15 minutes.", "When you stretch the dough, you should be able to see light through it without it tearing. When you reach this stage, form the dough into a ball, place it in a container, cover it, and set aside in warm place for 1 ½ hours.", "While the dough is resting, add the red bean paste and agar powder to a saucepan, along with enough water to cover the paste. Warm over medium heat, stirring constantly, until the water has evaporated. Let cool.", "Take out the ball of dough, spread it out into a rectangle on your floured work surface, and then roll it into a log. Divide the dough into three large pieces to form the buns.", "Pinch the tops of each bun, and roll each piece to make smooth, round balls. Cover for 20 minutes.", "Flatten the dough balls with a rolling pin so that the edges are thicker and the center is thinner. Spoon the red bean paste mixture onto each dough round. Fold up the edges neatly, to close the buns. Coat your fingers with olive oil, and then twist the tops of the buns to seal them.", "Place the buns on parchment paper with the sealed side down, and let rest for 10 minutes.", "Steam the buns for 10 minutes." ], "author": null }
- Assistant
{ "data": "JP" }