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": "RACK OF LAMB", "description": "A delicious rack of lamb served with flageolet beans.", "subtitle": "with Flageolet Beans", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "200G 7 OUNCES (1 CUP PLUS 1 TABLESPOON) FLAGEOLET BEANS OR GREAT NORTHERN BEANS", "2 RACKS OF LIMOUSIN LAMB (OR OTHER MILK-FED LAMB) FROM THE LOIN END", "FLEUR DE SEL", "FRESHLY GROUND PEPPER", "OLIVE OIL", "20G 0.71 OUNCE (1 1/2 TABLESPOONS) BUTTER", "2 CLOVES GARLIC", "1 SPRIG THYME", "1 WHITE ONION", "1 CARROT", "1 BOUQUET GARNI", "SALT", "100ML 1/3 CUP PLUS 1 TABLESPOON LAMB JUS (SEE P. 247)", "15G 0.53 OUNCE (1 TABLESPOON) BUTTER", "PEPPER" ] } ], "instructions": [ "One day ahead, set the beans to soak in cold water.", "On the day of serving, halve the racks. Season them with fleur de sel and pepper, and sear* with a little olive oil, starting with the fat side.", "Add the butter, garlic, and thyme, then baste with the hot butter*.", "When the racks are well browned, transfer to a rack and let stand at room temperature.", "Drain the beans and put into a saucepan of cold water. Peel the onion and carrot and cut into pieces.", "Put the beans into a Dutch oven (cast-iron casserole) with cold water to cover. Bring to a boil, then skim and simmer.", "Add the onion, carrot, and bouquet garni. Cook for 40 minutes. Season the beans with salt after 30 minutes. Let cool in their cooking liquid.", "Preheat the oven to 200°C - 400°F (gas mark 6). Drain the beans, remove and reserve the pieces of carrot, and transfer the beans to a saucepan with a little lamb jus and simmer for 20 minutes.", "Cut the carrot pieces into brunoise* and add to the beans. Bind with the butter and season with salt and pepper.", "Put the meat into the oven for a few minutes to reheat. Serve with the beans." ], "author": "ALLARD" }
- Assistant
{ "data": "FR" }