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": "Tacos", "description": "We like to have a taco night at least once a month. Not only are these tacos delicious, but they are also a million times healthier for you than traditional restaurant tacos, which are usually full of lard, MSG, any number of common allergens, and an excess of sodium. These are made with only 1 tablespoon of heart-healthy olive oil and my allergy-free homemade taco seasoning-you'll feel practically virtuous serving this fast food.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 tablespoon olive oil", "1 cup minced onion", "2 cloves garlic, finely minced or pressed", "1 cup minced green bell pepper", "1 pound ground dark meat turkey, beef, or bison or buffalo", "2 teaspoons chili powder", "1 teaspoon smoked Spanish paprika", "½ teaspoon ground cumin", "¾ teaspoon dried oregano", "½ teaspoon salt", "¼ teaspoon freshly ground pepper", "4 teaspoons red wine vinegar", "¼ cup tomato paste", "¾ cup water", "1 tablespoon honey", "8 corn taco shells or 6-inch soft corn tortillas", "Guacamole (optional)", "Shredded Daiya vegan cheddar (optional)", "Shredded lettuce", "Diced onions", "Diced tomatoes", "Chopped cilantro (optional)" ] } ], "instructions": [ "Heat the olive oil in a large pan over medium-high heat. Add the onion, garlic, bell pepper, and turkey and cook, stirring, for 2 minutes, using a wooden spoon to break up the meat. Add the chili powder, paprika, cumin, oregano, salt, and pepper and cook for 3 minutes more, until the meat is no longer pink.", "Add the red wine vinegar and stir a couple of times. Add the tomato paste, water, and honey. Bring to a simmer, and then cook over low heat, loosely covered, stirring occasionally, for 20 minutes more. In the last few minutes of cooking time, warm the taco shells.", "Place the taco filling in a bowl, surrounded by bowls with guacamole, vegan cheddar, shredded lettuce, diced onion, diced tomatoes, and chopped cilantro, and have each diner prepare his or her own tacos." ], "author": "" }
- Assistantjson
{ "data": "US" }