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": "COOKPOT of Potatoes, Saint-Félicien Cheese, and Black Truffle", "description": "Une délicieuse recette qui combine des pommes de terre fondantes, du fromage crémeux Saint-Félicien et la richesse du truffe noire.", "subtitle": "VEGETABLES 193 AUX LYONNAIS", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "8 SHALLOTS", "OLIVE OIL", "SALT", "FRESHLY GROUND PEPPER", "200G7 OUNCES SALTED PORK SIDE (BELLY), DESALTED AND COOKED", "60G2.12 OUNCES BLACK TRUFFLE", "800G 1 POUND 12 OUNCES ROSEVAL POTATOES", "250ML 1 CUP LIGHT CREAM", "250ML 1 CUP CHICKEN BROTH (SEE P. 245)", "1 WHOLE SAINT-FÉLICIEN OR OTHER CREAMY COW'S MILK ALPINE CHEESE" ] } ], "instructions": [ "Peel and slice* the shallots. Sweat* them in a little oil in a sauté pan.", "Season with salt and pepper and stew for 15 minutes over low heat.", "Cut the pork side into 1cm- - 5/8 inch-long lardons.", "Wash and peel the truffle, then finely chop the scraps (trimmings).", "Wash and peel the potatoes, and cut into 1mm 1/32 inch-thick disks.", "Combine the cream and chicken broth in a saucepan and bring to a boil.", "Preheat the oven to 150°C - 300°F (gas mark 2).", "Make a layer of stewed shallots, chopped truffle scraps, and lardons in the bottom of 4 cookpots.", "Arrange the thin potato slices in a rosette on top.", "Cut the rest of the truffle into disks and lay them over the potato slices.", "Add another layer of stewed shallots, then finish by covering with potato slices.", "Quarter the cheese, place one piece in the middle of each cookpot, then pour the cream and chicken broth mixture over everything.", "Cover the cookpots with their lids and cook in the oven for 45 minutes.", "Remove the lids and cook for 10 minutes to lightly brown the surface." ], "author": "" }
- Assistant
Pour la recette fournie, le pays mentionné est associé au fromage Saint-Félicien, qui est typique de la région Rhône-Alpes en France. Par conséquent, l'origine de la recette peut être identifiée comme étant française.
En utilisant le code ISO 3166-1 alpha-2 pour la France qui est "FR", le format JSON structuré sera le suivant :
{ "data": "FR" }