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": "CHALLANS DUCK with Olives", "description": "A delicious Challans duck dish complemented by olives, creating a flavorful and succulent meal that's perfect for special occasions.", "subtitle": "Prepared by ALLARD", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 (1.8KG 4 POUND) CHALLANS DUCK", "50G 1.76 OUNCES (3 1/2) TABLESPOONS BUTTER, SOFTENED", "1 SPRIG THYME", "1/2 HEAD GARLIC", "FLEUR DE SEL", "FRESHLY GROUND PEPPER", "100ML 1/3 CUP PLUS 1 TABLESPOON WHITE CHICKEN STOCK (SEE P. 246)", "250G 8.82 OUNCES SICILIAN GREEN OLIVES", "500ML 2 CUPS RESERVED DUCK SAUCE" ] } ], "instructions": [ "Preheat the oven to 220°C - 425°F (gas mark 7). Trim, clean, and truss the duck. Spread with butter, then put the thyme and garlic inside it. Season it with fleur de sel and pepper, and place it in a roasting pan.", "Roast in the oven for 40 minutes, turning it over and carefully basing it regularly to crisp the skin. Take the duck out of the oven and deglaze the pan with the chicken stock. Transfer the cooking liquid to a saucepan and reduce* over medium heat. Reserve this sauce for the olives.", "Drain the olives, put them into a saucepan with cold water, and bring to a boil. Repeat the process to make the olives softer. Cook them again for 30 minutes in the reserved duck sauce to infuse them with flavor. Set aside* in a warm place.", "Reheat and untie the duck and arrange on a platter. Heat the olive-duck sauce, drizzle the sauce over the duck and scatter the platter with the olives. Finish by seasoning with a pinch of fleur de sel and a turn of the pepper mill. Serve with the remaining sauce." ], "author": "ALLARD" }
- Assistantjson
{ "data": "FR" }