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": "Watsonville Strawberry Pie Tarts", "description": "From the Strawberry Patch Marketplace at the Disney California Adventure Food & Wine Festival, this treat is a fresh delight.", "subtitle": "Sweet Endings and Desserts", "ingredients": [ { "section": "Pastry Cream", "ingredients": [ "1/2 whole vanilla bean", "2 cups whole milk", "1/4 cup plus 1/3 cup sugar", "2 egg yolks", "1 egg", "1/4 cup cornstarch", "2 tablespoons butter", "1 teaspoon vanilla extract" ] }, { "section": "Tarts", "ingredients": [ "16 (3-inch) pie shells", "1/4 cup white coating chocolate, melted", "1/2 pounds fresh strawberries (approximately 32), tops and stems removed", "1/2 cup store-bought strawberry glaze", "1/4 cup croquant, optional (something crispy or crunchy, such as finely chopped nuts, mini chocolate morsels, crumbled shortbread cookies, etc.)" ] } ], "instructions": [ "FOR PASTRY CREAM", "Cut vanilla bean in half lengthwise; scrape out seeds.", "Heat vanilla bean seeds, vanilla bean shell, milk, and 1/4 cup sugar in medium pot over medium heat and bring almost to a boil.", "Whisk egg yolks, whole egg, and 1/3 cup sugar and cornstarch in medium bowl until combined.", "Whisk 1/2 cup of hot milk mixture into egg mixture; whisk into remaining hot milk mixture.", "Cook over medium-low heat, stirring constantly until thickened.", "Remove from heat and discard vanilla bean shell.", "Stir in butter and vanilla extract.", "Cover with plastic wrap directly on cream and refrigerate until cool.", "FOR TARTS", "Bake tart shells according to package directions until golden brown and fully baked. Cool completely.", "Lightly brush inside of each shell with white coating chocolate.", "Once white chocolate sets, pipe or scoop pastry cream into shells to three-quarters full.", "Slice half of strawberries in 4 slices lengthwise. Place 1 whole strawberry (tip pointed up) in center and lean 4 strawberry quarters (tips pointed up) against the whole strawberry to create a tower.", "Warm strawberry glaze and lightly brush onto each tart.", "Gently press croquant around edge of each pie (optional)." ], "author": null }
- Assistantjson
{ "data": "US" }