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": "Sausage, Apple, and Acorn Squash Casserole", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 pound Perfect Sausage", "1 tablespoon cooking fat", "2 cups button, crimini, or portabella mushrooms, thinly sliced", "1 cup diced peeled apple", "2 cups peeled, seeded, and finely diced acorn squash", "1 tablespoon poultry seasoning", "1/4 cup pumpkin seeds or chopped pecans", "Salt and black pepper" ] } ], "instructions": [ "PREHEAT the oven to 375°F.", "HEAT the cooking fat in a medium oven-safe or cast-iron pan over medium heat.", "Once the fat is hot, add the sausage and cook until browned, about 2 minutes, on each side.", "Break the sausage into bite-size pieces with a wooden spoon, until the fat begins to release, about 2 minutes.", "Add the mushrooms, apple, and squash and cook until fork-tender, about 5 minutes.", "Add the poultry seasoning, sprinkle with the pumpkin seeds or pecans and transfer the pan to the oven. (If you don't have an oven-safe pan, transfer the mixture to a glass baking dish.)", "Roast for 10 to 15 minutes, until the internal temperature of the casserole is 140°F.", "Add salt and pepper to taste." ], "author": null }
- Assistant
{ "data": "WNA" }