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": "GARLIC AND CUCUMBER LABANEH", "description": "Most Mediterranean, Middle Eastern, and South Asian cultures have their own version of cucumber and yogurt: raita for Indians, tzatziki for Greeks, mast wa khiyar for Persians, and cacik for Turks, to name just a few. Palestinians have their version as well, but this recipe, made with garlic and labaneh instead of yogurt, takes things up a notch with more intense flavors that give a real kick. It's delicious on its own with crispy toasted pita bread, or if you're like me, as a side to Spiced Beef Pitas (page 88) or Spiced Leg of Lamb (page 156).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 Persian or Lebanese cucumbers (5-6 oz/150-180 g)", "9 oz/250 g Labaneh, homemade (page 26) or store-bought", "1 small clove garlic, crushed", "½ teaspoon crushed dried mint or leaves from 3-4 fresh sprigs, very finely chopped", "salt", "olive oil, to serve" ] } ], "instructions": [ "Chop the cucumbers into a very fine dice and put into a large bowl.", "Alternatively, grate the cucumbers and put into a colander set over a sink to drain some of the liquid.", "Mix the labaneh, garlic, and mint with the cucumber until combined.", "Taste and season with salt as desired. Store-bought labaneh tends to be less salty than the traditional homemade variety, so you may need to add some salt.", "Spoon into a shallow serving bowl and drizzle with olive oil.", "Serve as a dip with bread or alongside grilled meats." ], "author": null }
- Assistant
{ "data": "PS" }