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": "CLOTH-WRAPPED DUCK FOIE GRAS CONFIT", "description": "A luxurious appetizer featuring duck foie gras confit wrapped in cheesecloth, served with crispy toasted pain de campagne and chutney.", "subtitle": "with Toasted Pain de Campagne", "ingredients": [ { "section": "Foie Gras and Seasoning for 1kg", "ingredients": [ "1 (700g 1 pound 8 ounce) lobe raw duck foie gras, deveined", "15g 0.53 ounce (2 1/2 teaspoons) salt", "4g 0.14 ounce (2 teaspoons) freshly ground pepper", "3g 0.11 ounce (3/4 teaspoons) sugar", "50ml 3 1/2 tablespoons cognac", "2 liters 8 1/2 cups chicken broth (see p. 245)" ] }, { "section": "Toast", "ingredients": [ "4 slices pain de campagne, cut 1.5cm 5/8 inch thick", "20ml 4 teaspoons olive oil" ] }, { "section": "Finishing", "ingredients": [ "100g 3.53 ounces (1/3 cup) chutney or fig preserve", "fleur de sel" ] } ], "instructions": [ "Calculate the required seasoning depending on the weight of the lobe.", "Season the foie gras with salt, pepper, and sugar.", "Drizzle with cognac and marinate in the refrigerator for at least 6 hours.", "Wrap the lobe very tightly in cheesecloth to give it a cylindrical shape.", "Tie the ends closed.", "Fill an oval Dutch oven (cast-iron casserole) with the chicken broth and place the foie gras inside.", "Heat the broth to 70°C - 160°F and gently cook the foie gras.", "Use a probe thermometer to check the internal temperature, which should reach 52°C 126°F.", "Remove the foie gras from the pan and tighten the cloth around it.", "Let cool and rest in the refrigerator for 3 days.", "Lay the slices of bread on a baking sheet, drizzle with olive oil, and toast under a broiler (grill) for about 5 minutes until crispy.", "Unwrap the foie gras and cut into thick slices.", "Place one slice on each plate and arrange a quenelle of chutney or fig preserve to one side.", "Add a pinch of fleur de sel.", "Serve the toast separately." ], "author": "ALLARD" }
- Assistant
Based on the provided recipe for "CLOTH-WRAPPED DUCK FOIE GRAS CONFIT," we note that foie gras is a delicacy primarily associated with French cuisine. Therefore, we can identify France as the country of origin.
The ISO 3166-1 alpha-2 code for France is "FR."
Here's the structured JSON response:
json{ "data": "FR" }