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": "Scallops with green cabbage", "description": "A fine marriage of land and sea! Take care not to add too much salt to the cabbage at the beginning.", "subtitle": "A fine marriage of land and sea!", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "16 scallops", "1 green cabbage", "1 carrot", "1 onion", "2 sticks of celery", "1 small leek", "100 g of haddock", "2 tablespoons of olive oil", "2 juniper berries", "400 ml of chicken stock", "salt" ] } ], "instructions": [ "Get your fishmonger to prepare 16 scallops, asking him to detach the white flesh and get rid of the coral.", "Separate the leaves and wash 1 green cabbage and immerse in boiling salted water for 2 minutes.", "Drain well and slice thinly.", "Peel and wash 1 carrot, 1 onion, 2 sticks of celery and 1 small leek (take off any green part that is not tender) and cut all these vegetables into small dice (brunoise).", "Cut 100 g of haddock similarly.", "Heat a flameproof casserole dish with 2 tablespoons of olive oil and sweat the vegetables for 2 to 3 minutes.", "Add the cabbage and cook gently for a further 2 minutes, stirring.", "Add 2 juniper berries, add 2 glasses (400 ml) of chicken stock, cover and cook gently for 30 minutes, stirring occasionally.", "Then add the haddock, stir, then place the scallops on top of the cabbage.", "Cover the flameproof casserole dish with a lid and cook for just 3 minutes over a very low heat.", "Taste and adjust the seasoning.", "Arrange the cabbage mixture in the serving dish, then place the scallops in the centre. Drizzle with the cooking liquid." ], "author": "" }
- Assistant
Pour la recette fournie, il n'y a pas de pays explicitement mentionné. Le plat "Scallops with green cabbage" (Coquilles Saint-Jacques avec du chou vert) peut être associé à la cuisine européenne, notamment à la cuisine française avec l'utilisation de coquilles Saint-Jacques et de choux.
Il n'y a pas d'autres indications précises sur le pays d'origine, donc, selon les règles établies, nous allons attribuer un code de continent. La France étant en Europe, le code ISO correspondant sera "FR", mais puisque ce pays n'est pas mentionné explicitement, nous allons retourner le code de continent correspondant : "WEU" pour l'Europe.
Voici le format JSON demandé :
json{ "data": "WEU" }