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": "Tzatziki", "description": "A refreshing dip, tzatziki is the perfect accompaniment to any meal, bursting with flavor from fresh herbs.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 cucumber weighing approximately 300 g", "1 Greek-style yogurt (125 g)", "a small bunch of mint", "2 to 3 sprigs of flat-leaf parsley", "juice of half a lemon", "1 pinch of Piment d'Espelette", "salt" ] } ], "instructions": [ "Rinse 1 cucumber weighing approximately 300 g. Do not peel it, but cut it in half lengthwise and remove all the seeds with a small spoon.", "Then cut it into small dice (brunoise). Salt generously and leave to marinate for 15 minutes. Rinse in cold water and drain on a tea towel.", "Rinse a small bunch of mint and 2 to 3 sprigs of flat-leaf parsley. Take off the leaves and chop them.", "Squeeze the juice of half a lemon.", "In a large bowl, combine the diced cucumber, 1 Greek-style yogurt (125 g), the chopped mint and parsley, 1 pinch of Piment d'Espelette and the lemon juice.", "Add salt and mix well. Taste and correct the seasoning.", "Refrigerate for at least 1 hour as this tzatziki should be served very cold." ], "author": "" }
- Assistant
{ "data": "GR" }