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": "Chopped cooked tomatoes", "description": "These chopped cooked tomatoes come in very handy, not only for the recipes in this book but for any pasta, risotto or vegetable dish. Make large quantities in the summer when tomatoes are cheap, then freeze them or keep them in sterilised jars.", "subtitle": "Makes approximately 500 g", "ingredients": [ { "section": "For the larder", "ingredients": [ "8 large ripe tomatoes", "2 pinches of caster sugar", "2 tablespoons of olive oil" ] } ], "instructions": [ "Preheat your oven to 160 °C (gas mark 3).", "Wash 8 large ripe tomatoes, cut out any hard base around the stalk and cut in half widthways.", "Squeeze their juice into a bowl and set aside.", "Sprinkle a pinch of salt and 2 pinches of caster sugar on the baking tray then arrange the tomatoes in rows, skin side up, close together but not overlapping.", "Cover with greaseproof paper, held down with 2 spoons so that it doesn't move and put in the oven for 1 hour.", "Take the tray out of the oven, take off the greaseproof paper, then take off the tomato skins.", "Filter the reserved tomato juice and pour it over the tomatoes.", "Return the tray to the oven and continue to cook (uncovered) for approximately 1 hour, until the edges of the tray begin to caramelise.", "Continue to cook for a further 5 minutes, scraping the juices two or three times and returning the tray to the oven each time.", "Transfer the tomatoes to a plastic container and keep somewhere cool or freeze.", "If you are going to use them straight away, add 2 tablespoons of olive oil to add flavour and a glossy sheen." ], "author": "" }
- Assistantjson
{ "data": "IT" }