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": "Fresh morels with tarragon and Parmesan cream", "description": "The flavour of tarragon marries so well with morels. A real discovery.", "subtitle": "You must make this at least once in your life, in the spring, at the height of the morel season.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "½ bunch of tarragon", "300 ml/10 fl oz crème fraîche (sour cream)", "600 g/1 lb 5 oz morels", "I tablespoon white wine vinegar", "I shallot", "20 g/4 oz unsalted butter", "2 tablespoons vegetable stock", "50 g/14 oz Parmesan", "salt" ] } ], "instructions": [ "The day before, cold-infuse half the tarragon in the cream: just chop half the tarragon, mix it with the cream and leave in the fridge overnight. The next day, sieve the cream to remove the tarragon leaves, then reduce the cream by half over a gentle heat to thicken it.", "Remove and discard the morel stalks. Splash the morel caps with vinegar, then wash them in plenty of running water until the water is clear and there is no trace of grit or soil. Leave them to dry on kitchen paper. Finely chop the shallot, then melt the butter in a frying pan and, as soon as it foams, add the shallot and cook for 2 minutes. Add the morels and the stock, then cover and leave to cook for another 3 minutes before adding the tarragon cream. Bring to the boil and stir to coat the morels in the cream. Add a little salt, then finish by scattering over the remaining tarragon and shavings of Parmesan.", "Arrange the morels decoratively on plates and dress with the sauce." ], "author": "" }
- Assistant
{ "data": "FR" }