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": "MIRABELLE PLUM TART", "description": "A delightful tart filled with sweet mirabelle plums and creamy custard, perfect for any dessert lover.", "subtitle": "ALLARD", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "6G 0.21 OUNCE (1 1/2 TEASPOONS) SUGAR", "100G 3.53 OUNCES (3/4 CUP PLUS 1 TABLESPOON) FLOUR", "2G SALT", "50G 0.07 OUNCE (1/3 TEASPOON) 1.76 OUNCES (3 1/2 TABLESPOONS) BUTTER, SOFTENED*", "50 G 1.76 OUNCES (3 1/2 TABLESPOONS) EGG (1 LARGE)", "250G 8.82 OUNCES (1 CUP PLUS 2 TEASPOONS) LIGHT CREAM", "200G 7.04 OUNCES (1/3 CUP PLUS 2 TABLESPOONS) EGGS (ABOUT 4 LARGE)", "30G 1.06 OUNCES (2 1/2 TABLESPOONS) SUGAR", "15G 0.53 OUNCE (2 3/4 TEASPOONS) CUSTARD POWDER", "500G 1 POUND 2 OUNCES MIRABELLE PLUMS" ] } ], "instructions": [ "Preheat the oven to 185°C - 365°F (gas mark 4-5). Put the sugar into a bowl and add the flour and salt.", "Incorporate the butter in small cubes and mix until crumbly.", "Add 10ml 2 teaspoons water and the egg, and continue stirring until the mixture forms a smooth dough.", "Roll the dough into a ball and set aside* in the refrigerator for 2 hours.", "Roll out the dough to a thickness of 3mm 1/8 inch and line a tart pan, making sure to leave a short overhanging edge to give the tart height and thickness.", "Prick the bottom of the tart shell (case) with a fork.", "Bake for 10 minutes, until golden.", "Heat the cream.", "In the meantime, beat the eggs with the sugar in a bowl until pale, then add the custard powder.", "Whisk in half of the hot cream, then return the mixture to the pan.", "Bring the mixture to a boil while constantly stirring.", "Transfer the custard to a container and refrigerate immediately.", "Remove the stems and halve the plums. Pit them.", "Lay the plum halves over the tart shell and cover with the custard, being careful not to disperse the plums.", "Bake for 30 minutes.", "Let the tart cool a little before unmolding." ], "author": "ALLARD" }
- Assistant
Pour la recette de "MIRABELLE PLUM TART", bien que le pays ne soit pas explicitement mentionné, il est connu que la mirabelle est un type de prune originaire de France. Par conséquent, le code ISO 3166-1 alpha-2 pour la France est "FR".
Le code JSON structuré à retourner est :
{ "data": "FR" }