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": "BUGNES", "description": "Savourez ces délicieuses bugnes croustillantes et sucrées, parfaites pour une friandise gourmande !", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "5G 0.18 OUNCE (2 1/2 TEASPOONS) ZEST OF ASSORTED CITRUS FRUITS", "50G 1.76 OUNCES (14 CUP) SUGAR", "170G 6 OUNCES (1 1/3 CUP PLUS 1 TEASPOON) FLOUR", "ZEST OF 1/2 LEMON", "ZEST OF 1/2 ORANGE", "1G 0.04 OUNCE (1/6 TEASPOON) SALT", "10G 0.35 OUNCE (2 1/2 TEASPOONS) SUGAR", "1 EGG", "25ML 5 TEASPOONS COINTREAU", "25G 0.88 OUNCE (1 3/4 TABLESPOONS) BUTTER", "2 LITERS 8 1/2 CUPS OIL FOR DEEP FRYING" ] } ], "instructions": [ "One day ahead, mix the zests with the sugar. Spread the mixture over a plate, cover with plastic wrap, and let dry at room temperature for 12 hours in a warm and dry place.", "One day ahead, combine the flour, grated zests, salt, and sugar in a bowl. Add the egg and Cointreau, and knead by hand until the dough is no longer sticky, then add the butter. Cover with plastic wrap and refrigerate over night.", "On the day of serving, crumble the citrus sugar with your fingers. Set aside in a dry place. Roll out the dough as thinly as possible. Cut it into strips, and then diamonds with 3cm 1 1/4 inch sides.", "Heat the oil to 160°C - 320°F. Plunge the dough pieces in the hot oil and fry until golden. Drain quickly on paper towels. Sprinkle the fritters with the citrus sugar. Serve immediately inside a folded napkin." ], "author": "" }
- Assistant
{ "data": "FR" }