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": "Tomato Florentine Soup", "description": "Right next door to Jiko-The Cooking Place at Disney's Animal Kingdom Lodge, there's Boma-Flavors of Africa, where wood-burning grills create sensational aromas from morning until night in this marketplace-style restaurant. This slow-cooked stew is a family favorite.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons olive oil", "1 pound ground turkey breast", "1 teaspoon seasoning salt", "1/4 teaspoon freshly ground black pepper", "1/2 cup diced carrots", "1/2 cup diced celery", "1/2 cup diced onion", "1 tablespoon minced garlic", "32 ounces chicken stock", "28 ounces tomato sauce", "2 cups finely diced fresh tomatoes", "1 teaspoon Worcestershire sauce", "1 dried bay leaf", "1/2 teaspoon dried oregano", "1 cup cooked elbow macaroni noodles", "2 (6-ounce) bags baby spinach" ] } ], "instructions": [ "Carefully heat oil in a large saucepan over medium heat.", "Add turkey, seasoning salt, and pepper. Cook, crumbling turkey into small pieces, 5 minutes, or until golden brown.", "Add carrots, celery, onions, and garlic. Cook until onions are translucent, about 3 minutes.", "Stir in chicken stock, tomato sauce, diced tomatoes, Worcester, bay leaf, and oregano; simmer, covered, 30 minutes.", "Add noodles and spinach just before serving, stirring to wilt spinach." ], "author": null }
- Assistant
{ "data": "WWW" }