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": "Croissants-as dreamy as Colette", "description": "Colette was confident and dreamy. She was also inspired by Gusteau's belief anyone can cook. Therefore, we too should believe in ourselves, just like Colette would have, and try this croissants recipe. Let's get started.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 cups of all-purpose flour", "1/3 cup of regular sugar", "4 teaspoons dry yeast", "2 1/4 teaspoons salt", "1 1/4 cups of refrigerated butter", "1 cup milk", "1 egg and 1 teaspoon of water mixture." ] } ], "instructions": [ "In a bowl, add flour, sugar, yeast, and salt. Mix them until they have come together.", "Add the butter into the flour mixture.", "Now, pour in the milk and mix them. This will lead to a dough formation.", "Cover the dough in plastic and let it chill for around 1 hour.", "Roll out the dough on a floured surface, into a rectangular shape.", "Once the dough is rolled out into a rectangular shape, fold it like a letter. Once done, turn it in a 90-degree direction and repeat the process about 4 to 6 times.", "Once done, wrap the dough once again a plastic wrap and chill it for 1 hour.", "When ready, cut the dough into two halves, and roll them out into a rectangular shape.", "Once done, cut them into thin triangular shapes.", "Now, cut the end of each triangle. Roll them from the wide end to another end.", "Once done, transfer the croissants to a baking tray, and cover them lightly with plastic. Let it rise for about 1-2 hours.", "Preheat the oven to 375F.", "Using a brush, brush egg wash on the croissants.", "Bake the croissants for about 15-20 minutes." ], "author": null }
- Assistant
{ "data": "FR" }