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": "Gazan Tomato Salsa", "description": "One of my mother's best friends is from Gaza; whenever she visited us, she would make us this salsa in a pestle and mortar, the way it has been done in her family for generations. Dagga literally means something that has been pounded or ground with a pestle. The dill seeds impart a very distinct flavor to what would otherwise be a simple tomato salsa.\nOne time she made it for breakfast, and my mum had been cooking Lamb and Yogurt Rice Stew (page 206) for lunch. so I mixed the two together and since that day I never looked back-I now never eat anything cooked with Yogurt Sauce (page 29) without this salsa on the side. I also absolutely love it with bread or as a dip for tortilla chips. To make life easier, I only use a pestle and mortar for the dill seeds, then do everything else in a mini chopper or food processor.", "subtitle": "دقه غزاویه", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon dill seeds", "1 teaspoon coarse sea salt", "2-3 green chillies", "1 lb 2 oz/500 g tomatoes (see Note)", "1 tablespoon olive oil", "1 tablespoon lemon juice" ] } ], "instructions": [ "Use a pestle and mortar to pound the dill seeds and salt together until coarsely ground.", "Put the ground dill seeds and salt, chillies, tomatoes, olive oil, and lemon juice into a food processor and pulse until you reach a salsa consistency." ], "author": null }
- Assistantjson
{ "data": "PS" }