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": "Remy's Baked Ratatouille", "description": "", "subtitle": "The entire movie is the name of a recipe. Super healthy, delicious recipes you have to share, and it is made with love.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 eggplant, slices 1/2 inch thick", "2 zucchinis - sliced 1/2 inch thick", "1 large squash sliced ½ inch thick", "3 Roma firm tomatoes sliced ½ inch thick", "1 large red, green, and yellow bell pepper, thinly sliced", "1 large white onion, sliced", "½ tsp crushed garlic", "Pepper and salt to taste", "Olive oil", "1 sprig fresh thyme", "2 cups mix mozzarella and provolone cheese" ] } ], "instructions": [ "Get a 6 by 8 baking dish and preheat the oven", "Season the squash and place in the oven, they cook first", "Fry onions just slightly with salt, pepper, and herb de Provence", "Add your bell peppers and soften a bit with the thyme and garlic", "Add them to the squash along with other ingredients and allow it to cook and marry together", "Add the cheeses when vegetables are soft and allow it to brown", "Sprinkle with basil and serve as desired" ], "author": "" }
- Assistantjson
{ "data": "FR" }