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": "Strawberry Cheesecake", "description": "Casual California cuisine is on the menu at Storytellers Cafe. This popular item on the dessert buffet took advantage of the Golden State's year-round abundance of strawberries.", "subtitle": "Sweet Endings and Desserts", "ingredients": [ { "section": "For Cheesecakes", "ingredients": [ "1 cup graham cracker crumbs", "2 tablespoons brown sugar", "3 tablespoons unsalted butter, melted", "3 (8-ounce) packages cream cheese, softened", "1/2 cup sugar", "2 tablespoons strawberry jam", "3 eggs" ] }, { "section": "For Strawberry Sauce", "ingredients": [ "1 pint fresh strawberries, cored and quartered", "3 teaspoons sugar", "1 tablespoon fresh lemon juice" ] } ], "instructions": [ "Preheat oven to 300°F.", "Combine graham cracker crumbs, brown sugar, and butter in a medium bowl, blending until well combined.", "Set aside.", "Beat cream cheese and sugar together until smooth and light.", "Beat in strawberry jam.", "Scrape down sides of bowl.", "Add eggs, one at a time, blending well after each.", "Divide mixture evenly among three 6-well standard muffin tins.", "Top each cake with 1 tablespoon of graham cracker crumb mixture.", "Place muffin tins inside a large roasting pan.", "Pour hot water into roasting pan to reach halfway up sides of muffin cups.", "Bake 25 to 30 minutes, or until centers are almost set.", "Remove from oven and refrigerate at least 2 hours before unmolding and serving.", "Combine strawberries, sugar, and lemon juice in a blender.", "Puree until smooth; pour sauce through a fine-mesh sieve.", "Serve with cheesecakes." ], "author": "Storytellers Cafe Disney's Grand Californian Hotel & Spa" }
- Assistantjson
{ "data": "US" }