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": "SAUTÉED PORCINI", "description": "A deliciously sautéed porcini dish, perfect for serving as an appetizer. The blend of flavors from garlic, parsley, and a hint of white wine enhances the earthy taste of the mushrooms.", "subtitle": "ALLARD", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "20 YOUNG PORCINI (CEPS)", "1 CLOVE GARLIC", "LEAVES FROM SEVERAL SPRIGS FLAT-LEAF PARSLEY", "30G (1.06 OUNCES) BUTTER", "30ML 2 TABLESPOONS OLIVE OIL", "3 SPRIGS THYME", "10ML 2 TEASPOONS DRY WHITE WINE", "50ML 3 1/2 TABLESPOONS WHITE CHICKEN STOCK (SEE P. 246)", "SALT", "FRESHLY GROUND PEPPER", "FLEUR DE SEL", "FRESHLY GROUND PEPPER", "OLIVE OIL" ] } ], "instructions": [ "Use a knife tip to remove the earth-encrusted parts of the mushroom stems.", "Use a dry brush to remove any impurities.", "Set aside two mushrooms for finishing.", "Halve the mushrooms to check that they are not worm-eaten.", "Peel the garlic and finely chop with the parsley.", "Melt the butter with the oil in a Dutch oven (cast-iron casserole).", "Add the mushrooms, cut side down, and brown them.", "When the cut side is golden, turn the mushrooms over, add the thyme, and cook for a few more minutes before deglazing with the white wine.", "Reduce the liquid until it becomes thicker, then deglaze again with the chicken stock and cover for 5 minutes.", "Add the garlic and parsley, and season with salt and pepper.", "Arrange the mushrooms on a plate and season with a pinch of fleur de sel and pepper, and drizzle with olive oil." ], "author": "ALLARD" }
- Assistantjson
{ "data": "FR" }