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": "EDAMAME SALAD", "description": "The Crystal Palace, an ornate glass-ceilinged landmark in the Magic Kingdom, is a favorite spot to meet and greet Disney characters. Its food offerings change seasonally, often with creative salads on the menu.\nFor this dish, edamame can be found in most supermarkets in the frozen-fresh sections. Daikon radishes are often in the supermarket, or you can find them at the local Asian grocery. (Red radishes are not a good substitute.)", "subtitle": "MAINS AND SIDES", "ingredients": [ { "section": "For the recipe", "ingredients": [ "4 cups edamame (young\nsoybeans), fresh or frozen", "1/2 cup rice wine vinegar", "1/4 cup sesame oil", "1 teaspoon coarse salt", "1 cup chopped napa\ncabbage", "1/2 cup chopped bok choy", "1/2 cup shredded carrots", "1 tablespoon black sesame\nseeds", "1/4 cup shredded white daikon\nradish" ] } ], "instructions": [ "Cook fresh or frozen beans in boiling salted water for 3 minutes, then chill.", "In a small mixing bowl, combine vinegar, sesame oil, salt, napa cabbage, and bok choy. Let sit at room temperature for 20 minutes. (Cabbage will wilt slightly.)", "Mix in carrots, then refrigerate for 1 hour.", "To serve, top with sesame seeds and daikon radish." ], "author": null }
- Assistant
{ "data": "WAS" }