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": "Pigeon with winter vegetables in star anise bouillon", "description": "Ce plat de pigeon parfumé aux légumes d'hiver et cuit dans un bouillon étoilé de badiane promet d'être à la fois savoureux et réconfortant, idéal pour les repas en famille ou entre amis.", "subtitle": "Poultry", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 pigeons pesant 450 g", "4 petits poireaux", "8 carottes avec fanes", "1/2 tête de céleri", "2 bulbes de fenouil", "1 botte de navets avec fanes", "1/2 chou vert", "2 litres de bouillon de volaille", "1 pincée de sel gros", "3 étoiles de badiane" ] } ], "instructions": [ "Get your poulterer or butcher to prepare 4 pigeons weighing 450 g, asking him to gut and singe them, take off the legs and separate the back of the breasts, open them out, and truss the wings.", "Peel and wash 4 small leeks, 8 carrots with tops, half a head of celery, 2 fennel bulbs, 1 bunch of turnips with tops and half a green cabbage.", "Keep the tops and the tenderest trimmings.", "Put these vegetables in a large flameproof casserole dish along with the legs and carcasses of the pigeons and cover with 2 litres of chicken stock (page 10).", "Add a pinch of coarse salt, 3 star anise and bring to a boil.", "Cook for 1 hour, skimming regularly.", "Off the heat, immerse the pigeon breasts in the bouillon for 4 minutes.", "With a slotted spoon, take out the vegetables and pigeon breasts.", "Strain the bouillon through a fine sieve and adjust its seasoning.", "Cut the vegetables into sections, arrange in a deep serving dish (preheated) and pour in 2 ladles of the bouillon.", "Add the pigeon breasts and legs and season with sea salt and freshly ground black pepper.", "Grate a small piece of horseradish on top, add all the reserved trimmings, the leaves from 2 sprigs of dill and 2 sprigs of chervil.", "Serve nice and hot." ], "author": "" }
- Assistantjson
{ "data": "FR" }