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": "VEGETABLE AND TAHINI SALAD", "description": "The calcium and minerals from the tahini and the vitamins and antioxidants from the vegetables are sure to counteract any negative effects of the fatty and fried foods it's so often served with. That doesn't mean it can't be enjoyed on its own as well with a fresh piece of bread. In fact, it's often my nightly supper at home when I want something fresh and quick to make. With hot bread and a fresh cup of mint tea, it's a wonderfully satisfying end to the day.", "subtitle": "No shawarma or falafel sandwich is complete without this health bomb of a salad.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 quantity Tahini Sauce (page 28)", "2 tomatoes (7-9 oz/200-250 g), finely diced", "2 Persian or Lebanese cucumbers (5-6 oz/150-180 g), finely diced", "1-2 green chillies, seeded and finely chopped", "1-2 cloves garlic, crushed", "3-4 tablespoons finely chopped fresh mint leaves, or 1 tablespoon dried mint" ] } ], "instructions": [ "Prepare the Tahini Sauce in a large bowl and set aside.", "Add all the remaining ingredients to the tahini and mix with a spoon to combine.", "Serve on its own with fresh bread or as a side to Falafel (page 68) or Shawarma with Onions and Sumac (page 156)." ], "author": "" }
- Assistantjson
{ "data": "LB" }