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": "Parsley or Cilantro (Coriander) Tahini Spread", "description": "When you eat out at Arabic restaurants back home, you generally don't look at a menu. The restaurant fills your table with small mezze platters and, if there is still space afterwards, some grilled meat or fish. Whenever we went out, ba'adounsiyeh was the dish I sat as far away from as possible-I absolutely hated it as a child. Funny enough, I absolutely love it now and find it to be the perfect condiment alongside fish and meats and even great on its own with bread.", "subtitle": "بقدونسيه", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 quantity Tahini Sauce (page 28)", "1 cup (2 oz/50 g) finely chopped flat-leaf parsley or cilantro (coriander)", "1 clove garlic, crushed" ] } ], "instructions": [ "Prepare the Tahini Sauce in a bowl.", "Add the parsley or cilantro (coriander) and garlic and mix until combined.", "If using as a spread, keep the consistency thick like this recipe; if using as a sauce, add a tablespoon of water at a time until you reach the desired consistency.", "If you want to make this ahead, omit the garlic and stir in just before serving." ], "author": "" }
- Assistantjson
{ "data": "WAS" }