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": "SEASONAL VEGETABLE POTPIE WITH HERBED BISCUIT TOPPING", "description": null, "subtitle": null, "ingredients": [ { "section": "BISCUIT TOPPING", "ingredients": [ "3 cups all-purpose flour", "1/2 teaspoons coarse salt", "1 tablespoon baking powder", "1/2 teaspoon freshly ground black pepper", "2 tablespoons finely chopped fresh basil", "2 tablespoons fresh thyme leaves", "2 tablespoons finely chopped fresh rosemary", "3/4 cup rice milk", "1/4 cup canola oil", "1/2 cup extra-virgin olive oil" ] }, { "section": "TOMATO PISTOU", "ingredients": [ "1/4 cup sun-dried tomatoes in oil", "1 clove garlic, peeled", "1 tablespoon finely chopped fresh basil leaves", "1 teaspoon sugar", "1/4 teaspoon coarse salt", "1/4 teaspoon freshly ground black pepper", "2 teaspoons balsamic vinegar", "1/4 cup extra-virgin olive oil" ] } ], "instructions": [ "Stir together flour, salt, baking powder, pepper, basil, thyme, and rosemary in a large mixing bowl until well combined.", "Stir in milk and oils.", "Stir until mixture is just combined, being careful not to overmix.", "Drop in large spoonfuls on top of vegetable mixture.", "Cook for 45 minutes to 1 hour, until biscuits are golden brown.", "Serve warm with a dollop of tomato pistou on top of each serving.", "Combine tomatoes, garlic, basil, sugar, salt, and pepper in a food processor or blender fitted with a metal blade.", "Pulse until coarsely chopped.", "Add vinegar and oil, and pulse until mixture is fully combined.", "The pistou will not be smooth; the consistency will be coarse.", "Serve as an accompaniment to the potpie." ], "author": null }
- Assistant
{ "data": "FR" }