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": "TTE TATIN", "description": "A delicious inverted apple tart served warm with heavy cream that will delight your taste buds.", "subtitle": "with Heavy Cream", "ingredients": [ { "section": "BASIC (SHORTCRUST) PASTRY DOUGH", "ingredients": [ "6G 0.21 OUNCE (1 1/2 TEASPOONS) SUGAR", "100G 3.53 OUNCES (3/4 CUP PLUS 1 TABLESPOON) FLOUR", "2G 0.07 OUNCE (1/3 TEASPOON) SALT", "50G 1.76 OUNCES (3 1/2 TABLESPOONS) BUTTER, SOFTENED*", "50 G 1.76 OUNCES (3 1/2 TABLESPOONS) EGG (1 LARGE)" ] }, { "section": "CARAMEL", "ingredients": [ "150G 5.29 OUNCES (3/4 CUP) SUGAR" ] }, { "section": "APPLES", "ingredients": [ "1.5KG 3 POUNDS 4 OUNCES REINETTE DU CANADA OR OTHER SWEET, GOLDEN RUSSET APPLES" ] }, { "section": "FINISHING", "ingredients": [ "180G 6.35 OUNCES (3/4 CUP) HEAVY CREAM" ] } ], "instructions": [ "Put the sugar into a bowl and add the flour and salt.", "Cut the butter into small pieces and incorporate.", "Add 10ml - 2 teaspoons water and the egg, and continue mixing until a smooth dough forms.", "Roll the dough into a ball and set aside in the refrigerator for 1 hour.", "Preheat the oven to 180°C - 350°F (gas mark 4).", "Put the sugar into a tarte Tatin pan and add 30ml - 2 tablespoons water, enough to just moisten the sugar.", "Heat the sugar on the stovetop over low heat until it turns dark, then remove the pan from the heat and cool quickly.", "Peel and core the apples. Cut into large wedges.", "Arrange the apple wedges in a rosette pattern over the cooled caramel, then add remaining pieces at random over the others.", "Roll out the dough into a sheet, then cover the pan completely trimming off excess dough.", "Bake for 40 minutes.", "The apples should be soft and the pastry crispy.", "Take the tart out of the oven and wait a few minutes before turning it over onto a plate.", "Serve warm. Serve the heavy cream separately." ], "author": "ALLARD" }
- Assistant
Pour la recette "TTE TATIN", l'analyse des ingrédients et des instructions permet de déterminer son origine :
-
Recherche d’un pays mentionné : La recette mentionne "Reinette du Canada", ce qui fait référence à une variété de pommes cultivées au Canada.
-
Code ISO 3166-1 alpha-2 : Le code pour le Canada est "CA".
-
Retour du JSON structuré :
json{ "data": "CA" } -