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é.
code1. 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": "Iced Grand Marnier soufflé", "description": "My father reinvented this classic many years ago and, although it may seem a bit old-fashioned these days, I urge you to let yourself be tempted to try it at home. Once your friends have tasted it, they'll want you to make it again and again. It's a great family favourite, and easy to make.", "subtitle": "A classic dessert reinvented by my father.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "90 ml/3 fl oz orange juice", "70 g/2½ oz caster (superfine) sugar", "zest of 1 orange + a little extra for decoration", "75 g/24 oz egg yolk (from about 3 eggs)", "100 ml/3½ fl oz double (heavy) cream", "50 ml/14 fl oz Grand Marnier", "icing (confectioners') sugar" ] } ], "instructions": [ "1-Making the iced soufflé", "Put the orange juice, sugar and orange zest into a saucepan and bring to the boil.", "Place a thermometer in the syrup and, when the temperature reaches 105°C/220°F, remove the pan from the heat.", "Meanwhile, put the egg yolks into an electric mixer and whisk rapidly, then pour in the boiling syrup and continue to whisk until the mixture is completely cold.", "Whip the cream to soft peaks, then fold gently into the mixture, along with the Grand Marnier.", "2-Preparing the soufflé dishes", "Cut out 6 strips of baking parchment, each long enough to wrap around the outside of a soufflé dish twice and high enough to extend 2-3 cm/1 in above its rim.", "Wrap a strip twice around the outside of each dish and tie in place with kitchen string or an elastic band.", "3-Freezing the soufflés", "Pour the mixture into the prepared dishes and leave to set in the freezer for at least 6 hours.", "4-Serving the soufflés", "Remove the baking parchment, then sprinkle the soufflés with icing sugar and decorate with a curl of orange zest.", "Serve immediately." ], "author": "Unknown" }
- Assistantjson
{ "data": "FR" }