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": "Tahini and Grape Molasses Spread", "description": "Whenever my father had to go to Hebron for a work meeting in the summer, my mother would insist he bring back the grape molasses the town is so famous for. While it can be used the same way you would use honey or maple syrup, we use it mostly for making this rich flavored dibs wa tahini spread. Palestinians tend to use grape molasses; in Egypt treacle is more common, and in the Gulf States date molasses tends to be the preference. The flavor, reminiscent of halaweh (halva), is an intense and earthy combination of sweet and salty.", "subtitle": "Pita bread with tahini and molasses is basically the Middle Eastern version of a peanut butter and jelly sandwich.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons tahini", "2 tablespoons grape or date molasses" ] }, { "section": "To serve", "ingredients": [ "Pita bread, homemade (page 38) or store-bought" ] } ], "instructions": [ "Pour the tahini into a small, shallow bowl.", "Drizzle the molasses in a nice pattern over the tahini.", "Serve with warm pita bread; mix together right before eating or use your bread to mix as you eat." ], "author": "" }
- Assistantjson
{ "data": "PS" }