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": "POT de la Cuisinière Lyonnaise", "description": "Une délicieuse terrine de porc et de foie gras qui ravira vos convives.", "subtitle": "(Pork and Foie Gras Terrine)", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "900G 2 POUNDS (4 1/3 CUPS) LARD", "1 SEMI-SALTED HAM HOCK (PORK KNUCKLE), DESALTED.", "550G 1 POUND 3 OUNCES (2 2/3 CUPS) DUCK FAT", "350G 12.35 OUNCES RAW FOIE GRAS", "150G 5.29 OUNCES ONIONS (1 LARGE OR 2 SMALL)", "100G 3.53 OUNCES (1/2 CUP) LARD", "75ML 5 TABLESPOONS AGED WINE VINEGAR", "5 CLOVES GARLIC", "4G 0.14 OUNCE (2 TEASPOONS) WHITE PEPPERCORNS", "2G 0.07 OUNCE (3/4 TABLESPOON) DRIED THYME", "0.14 OUNCE BAY LEAVES", "2G 0.07 OUNCE (1 TABLESPOON) ROSEMARY (DRIED OR FRESH)", "25G 0.88 OUNCE SKIN FROM THE COOKED HAM HOCK", "PAIN DE CAMPAGNE, FOR SERVING" ] } ], "instructions": [ "Melt the lard in a Dutch oven (cast-iron casserole), immerse the ham hock, and slow-cook (confit) at 90°C - 194°F for 8 hours.", "Remove the meat, keeping the piece as intact as possible.", "Remove the skin and cut into small dice and set aside*.", "Cut the ham hock into a dice and set aside.", "Melt the duck fat in a Dutch oven, immerse the foie gras, and confit at 70°C - 158°F until the internal temperature reaches 50°C - 122°F, about 15 minutes.", "Drain the foie gras, let cool a little, then remove the nerves and veins.", "Return it to its original shape and let cool.", "Cut into small dice.", "Peel and slice the onion.", "Sweat* in 25g - 0.88 ounce (1/4 cup) lard without coloring, leaving them a little crunchy.", "Deglaze* with the vinegar and reduce completely.", "Put the garlic cloves into a saucepan with 75g - 2.65 ounces (1/3 cup) lard and confit for 1 hour at about 80°C - 176°F.", "Drain and chop.", "Grind the peppercorns, thyme, bay leaves, and rosemary to a powder.", "Mix the foie gras with the ham hock, skin, ground herbs, garlic confit, and onions, then fill 4 glass jars.", "Put the jars on a kitchen towel in a stockpot filled with cold water and sterilize them at about 85°C - 185°F for 30 minutes.", "Serve with a slice of toasted pain de campagne." ], "author": "" }
- Assistantjson
{ "data": "FR" }