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": "Lotus Flower Cookies from Percy Jackson", "description": null, "subtitle": "This cookie recipe adds an extra flair to the traditional cookies. It also has a hint of rose water flavor that balances out the taste of the whole dish.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tsp salt", "3½ flour (all-purpose)", "1 cup of powdered sugar", "2 tsp vanilla extract", "2 tsp rose water", "Pink frosting", "# 366 tip and decorating bag" ] } ], "instructions": [ "Preheat an oven to 325 degrees F.", "In a medium-size bowl, mix the flour and salt.", "In a separate large bowl, mix the powdered sugar with butter until fluffy and light. Pour in the rose water and vanilla extract.", "Mix in the dry and wet ingredients together and knead until a dough-like consistency is achieved.", "Cut the dough into half and wrap each with plastic wrap. Put in the refrigerator to chill.", "Remove the dough from the refrigerator and flatten into ½ thick sheets.", "Cut circles on the dough using a cookie cutter.", "Put the cookie dough into a baking sheet lined with parchment paper.", "Bake for 12 minutes.", "Remove from the oven and let it cool. Once it cool, use the #366 with pink frosting inside and pipe on top of the cookie dough to achieve the lotus flower effect.", "Serve immediately." ], "author": null }
- Assistantjson
{ "data": "WWW" }