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": "Aromatic Pork with Cucumber", "description": null, "subtitle": "Aromatic, sizzling pork. The crunch of cucumber.", "ingredients": [ { "section": "For the Aromatic Pork", "ingredients": [ "300g boned pork belly", "3 tablespoons of dried shallots", "2 peeled cloves of garlic", "2 tablespoons of sesame oil", "1 tablespoon of grated fresh ginger", "2 teaspoons of sugar", "1 cucumber", "2 tablespoons of mirin", "groundnut oil", "1 tablespoon of lime juice" ] }, { "section": "For the Crab, Cabbage, and Yuzu Salad", "ingredients": [ "red and white cabbage", "yuzu juice", "mayonnaise", "fresh white and brown crabmeat", "chopped coriander" ] }, { "section": "For the Squid, Pea Shoot and Rocket Salad", "ingredients": [ "squid", "whole coriander and mint leaves", "rocket leaves", "pea shoots", "lime juice", "fish sauce", "sugar", "chopped red chilli" ] } ], "instructions": [ "Blitz 3 tablespoons of dried shallots with 2 peeled cloves of garlic, 2 tablespoons of sesame oil, a tablespoon of grated fresh ginger, and 2 teaspoons of sugar.", "Tip into a bowl.", "Cut 300g boned pork belly into thin slices and toss with the blitzed aromatics.", "Lightly peel a cucumber and thickly slice into chunky matchsticks.", "Sprinkle with 2 tablespoons of mirin.", "Heat a wok, add a thin film of groundnut oil, add the pork and cook for a few minutes till nicely crisp, then add a tablespoon of lime juice.", "Toss briefly with the cucumber and eat immediately.", "Finely shred red and white cabbage, then soak in cold water to crisp up.", "Make a citrus mayonnaise by stirring a few teaspoons of yuzu juice (available from Japanese food stores) into mayonnaise, to taste.", "Toss the drained and dried cabbage with fresh white and brown crabmeat, the yuzu mayonnaise and a little chopped coriander.", "Toss hot, grilled squid with whole coriander and mint leaves, rocket leaves and pea shoots.", "Dress with lime juice, fish sauce, a pinch of sugar and a little chopped red chilli." ], "author": null }
- Assistant
{ "data": "JP" }