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": "Poached young leeks with gribiche sauce", "description": "Rich in fibre, mineral salts, carotenoids and other antioxidants, vitamin B9 and vitamin C (especially in the green part), the leek (already praised by Hippocrates) is a vegetable much lauded by nutritionists for its health-giving properties.", "subtitle": "Fresh vegetables", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "12 small "pencil" leeks", "salt", "freshly ground black pepper" ] } ], "instructions": [ "Prepare a bowl of gribiche sauce (page 48) without grating the hard-boiled eggs over, and keep cool.", "Put salted water to boil in a saucepan. Also prepare a large bowl with water and ice cubes.", "Trim the rootlets at the base of 12 small "pencil" leeks and slit their green part lengthwise with 2 or 3 knife cuts.", "Wash in the sink filled with water holding them by the base and shaking them to remove all traces of earth.", "Then tie them into 3 bundles with cooking string and immerse them in boiling water for 12 minutes.", "Check when they are done with the tip of a knife. They should be fairly soft.", "Take them out of the saucepan with a slotted spoon and plunge them in the iced water for just 30 seconds to help keep their colour without cooling them too much.", "Drain them, squeeze gently, then arrange in the serving dish and season immediately with salt and freshly ground black pepper.", "Spread the Gribiche sauce over.", "Then grate the hard-boiled eggs on top and serve immediately." ], "author": "" }
- Assistant
{ "data": "FR" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.