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": "Little chef's sweet bread", "description": "Who doesn't love good bread? A good, freshly baked bread smells like heaven on earth. And it's even more perfect when the bread produces a perfect sound when you break it. It's not just me who feels this, but also Remy and Colette. Bread is fine, but sweet bread is even more perfect. We are talking about babka here. Let's talk about an amazing babka recipe.", "subtitle": null, "ingredients": [ { "section": "For the Dough", "ingredients": [ "4 cups all-purpose flour", "2 1/4 teaspoon yeast", "1 cup lukewarm milk", "1 teaspoon salt", "1 1/2 teaspoon vanilla extract", "1/4 cup sugar", "1/4 cup honey", "1 egg", "2 egg yolks", "10 tablespoons room temperature butter" ] }, { "section": "Chocolate sauce", "ingredients": [ "340g dark chocolate", "3/4 cup butter", "1/2 cup sugar", "1/4 cup cocoa powder", "1 tablespoon cinnamon", "2 tablespoon coffee", "1/2 cup brown sugar", "1 egg wash" ] } ], "instructions": [ "In a bowl, add milk and yeast. Let them side aside for about 5 minutes.", "In another bowl add the egg, egg yolks, vanilla extract, sugar, and honey. Mix them well.", "In the egg, egg yolks, vanilla extract mixture add the kept aside milk and yeast mixture. Mix it thoroughly.", "Once the mixture is ready, start adding flour in batches.", "Add butter to the mixture, and mix it well, so that all the ingredients are combined well.", "Cover the mixture with a damp cloth for at least 30 minutes", "Now, take the dough and roll it out on a floured surface, and knead it well.", "After kneading the dough, transfer the dough into two different bowls, after cutting the dough into two equal pieces.", "Cover each bowl with plastic.", "Keep the dough aside for at least two hours.", "Preheat the oven to 35F.", "Now let's prepare the chocolate sauce. In a bowl, add the dark chocolate, butter, sugar, cocoa powder, cinnamon, coffee powder, and brown sugar. Mix it well, and microwave it for 1-2minutes. Mix it well for all the ingredients to come together.", "Once the dough has risen twice its size, roll it out to a floured surface. Roll out the dough pieces into rectangular shapes.", "Using a brush, spread chocolate sauce on half the side of the dough.", "Slowly, and delicately roll the dough. Repeat the same with the other half of the dough.", "Now, place the dough in a crisscross manner, so that it looks like an additional sign.", "After placing the dough on each other, start braiding the dough. Braid the dough delicately.", "Once done, transfer the bread into a baking tray.", "Using a brush, brush egg white on the dough.", "Bake the bread for 35-45 minutes.", "Once done, you can enjoy it with coffee.", "Enjoy!" ], "author": null }
- Assistantjson
{ "data": "PL" }