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": "Toy Story Alien Deviled Eggs", "description": null, "subtitle": "Who said your Halloween treats needed to be sweet? These spooky alien deviled eggs are delicious! They'll be a great way to include the kids in the kitchen and they're definitely eye-catching.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "24 eggs", "2 tablespoons mustard", "3/4 cup mayonnaise + 2 tablespoons", "Fresh chives, chopped", "Paprika", "Black olives, slices", "Blue food colouring", "Green food colouring" ] } ], "instructions": [ "1. Steam eggs in a medium saucepan with about 1 inch of water for 13 minutes. After they are done cooking, place eggs in a bowl of cold water to stop the cooking.", "2. Peel eggs, cut lengthwise and remove yolks with a spoon and place in a large bowl.", "3. Fill a medium bowl with warm water and add a few drops of blue food colouring. Mix well and add boiled egg whites. Allow to sit until they change colour, stir occasionally to ensure colour is even.", "4. Remove egg whites from water and pat dry.", "5. Mix together yolks with mustard and ¾/4 cup mayonnaise, using a fork at first to mash them and then a mixer to make them smooth. Add a few drops of green food colouring and scoop into a piping bag.", "6. Fill each empty egg half with yolk filling and smooth it out slightly. Place 2 tablespoons of mayonnaise in a ziploc bag and cut a small hole in one of the edges. Use this to squeeze 3 dots on your ovals to represent alien eyes. Top with a small piece of olive.", "7. Use an olive ring for the mouth and a stick of chive for the antenna. Do this with about 12 - 14 of your eggs.", "8. For the bare eggs, sprinkle with paprika and chopped chives." ], "author": null }
- Assistantjson
{ "data": "WWW" }