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": "Remi's classic tomato soup", "description": "This was the first time Remy risked everything to make the awful-looking soup magical. This was technically the start of little chef's adventures in the Gusteau Kitchen. When the customers had the soup for the first time, all they could think of was rich flavors and godly taste. Let's talk about the delicious recipe for this classic tomato soup.", "subtitle": "A soup that changed Remy and Linguini's life forever.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon Butter", "6 tomatoes", "1/2 cup chopped onion", "2 chopped garlic", "1 tablespoon cornflour", "1/4 cup cream", "1 tablespoon sugar", "1/2 teaspoon salt", "salt", "black pepper", "water" ] } ], "instructions": [ "In a saucepan boil 3 cups of water.", "Add the tomatoes to the boiling water and cover it with the lid. Switch off the stove and let the tomatoes stay for 2-3 minutes.", "Let the skin of the tomatoes peel off.", "Dispose of the water from the saucepan and transfer the potatoes to a different plate.", "Peel off the skin of the tomatoes.", "In a saucepan, add some butter.", "Add garlic and onions to the saucepan on low flame and cook them for 2-3 minutes.", "At this stage, add tomatoes to the saucepan.", "Add 1 cup of water.", "Cover the saucepan and cook at medium temperature.", "When the tomatoes are soft, add 2 cups of cold water to the saucepan. This will help in bringing the temperature down of the cooked stew.", "Transfer the tomato puree into a blender and blend it until unwrinkled.", "Using a sieve, strain the tomato puree to the saucepan.", "Mix 1 tablespoon of cornflour and 1 tablespoon of water.", "Add the cornflour mixture, salt, pepper, and sugar to the saucepan. Cook in medium heat for 3-5 minutes.", "At this stage add the cream to the saucepan and cook for 2 minutes at low temperature.", "Once done, serve it in a bowl.", "You can also garnish the soup with basil or coriander leaves.", "You can also add side items like a bread roll." ], "author": null }
- Assistantjson
{ "data": "WWW" }