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": "Grilled and stuffed tomatoes inspired by the classic ratatouille", "description": "Tomato soup changed Remy's life and therefore, tomato is, of course, an important ingredient in their life. This specific dish is grilled, has tomatoes, and has cheese. All these ingredients somehow define Remy's journey throughout the movie. Therefore, this is an important dish and is also very easy to prepare. Let's get started.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "6 tomatoes", "1 tablespoon olive oil", "15 ounces beans", "1 cup grated cheese", "1/4 cup finely diced onion", "1 teaspoon finely diced thyme leaves", "1/2 teaspoon chili flakes", "Salt", "1 tablespoon lemon juice", "1 tablespoon finely minced leaves" ] } ], "instructions": [ "Heat the grill.", "Take the tomatoes and cut out the stem.", "After that, slice the tomatoes in halves, and scrape out all the seeds from the middle.", "Once done, using a brush, brush olive oil on both sides of the tomatoes.", "In a different bowl, add beans, cheese, onion, thyme, pepper, salt.", "Now mix them well.", "Once done, scoop this mixture in the middle of the tomatoes", "Take two pieces of foil and make them into a box-like shape.", "Once done, spray cooking oil on the tin foil.", "Now place this foil on the grill on medium heat and transfer the stuffed tomatoes to this foil.", "Enclose the grill and cook for 8-10 minutes on medium heat.", "Once you see the cheese melting and feel the tomato has softened, it means the tomatoes are ready.", "When done, you can trickle lemon juice on it.", "Lastly, add some parsley.", "And it is ready. You can now serve this amazing dish." ], "author": null }
- Assistantjson
{ "data": "FR" }