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": "Ratatouille from Ratatouille", "description": null, "subtitle": "This recipe is one of the most iconic food presented in a Disney movie. The way it changes Linguini's life has many\npeople fascinated and curious about this dish. Its beautiful plating and sophisticated taste and texture will surely give you\nthe same reaction as Anton Ego had.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1/4 cup garlic (minced)", "3/4 cup of water", "3 tbsp olive oil", "3 tbsp cheese (mascarpone", "1 tsp thyme leaves (fresh)", "6-ounce tomato paste", "½ chopped onion", "1 small, trimmed and thinly sliced eggplant", "1 trimmed and thinly sliced zucchini", "1 trimmed and thinly sliced squash", "1 trimmed and thinly sliced red bell pepper", "1 trimmed and thinly sliced yellow bell pepper" ] } ], "instructions": [ "Preheat your oven to 375 degrees F", "In a 10x10 baking dish, evenly spread the bottom with tomato paste.", "Combine the garlic, onion and olive oil with water. Season the mixture with black pepper and salt.", "Arrange the thinly-sliced vegetable in alternating order. Start from the other edge going inside. Make sure that they\noverlap with each other so that the colors are highlighted.", "Sprinkle the top layer with olive oil and season with salt and pepper. Sprinkle some theme leaves as well.", "Cover the top of the baking pan with parchment paper then bake in the preheated oven.", "Bake it for 45 minutes until the vegetables are perfectly tender and roasted.", "Serve with a generous spoonful of mascarpone cheese." ], "author": null }
- Assistantjson
{ "data": "FR" }