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": "Green Salad with Honey-Soy Vinaigrette", "description": "A dumpling salad bowl is the most refreshing way to make a meal out of your homemade dumplings. The Honey-Soy Vinaigrette is a favorite salad dressing and can also be used as a dipping sauce or drizzle. Several topping options are listed to add contrast, juiciness, crunch, and richness.", "subtitle": "A dumpling salad bowl", "ingredients": [ { "section": "for the honey-soy vinaigrette", "ingredients": [ "2 tablespoons soy sauce", "2 tablespoons brown rice vinegar", "1 tablespoon honey", "1/4 cup neutral-tasting oil" ] }, { "section": "for the salad", "ingredients": [ "24 assembled dumplings, fresh or frozen", "8 cups loosely packed tender salad greens", "Toppings of choice (below)", "Freshly ground black pepper" ] }, { "section": "optional toppings", "ingredients": [ "Citrus: orange, grapefruit, or blood orange segments", "Sliced or diced ripe stone fruit: peaches, nectarines, plums, or apricots", "Sliced or diced crisp apple or pear", "Toasted or roasted nuts or seeds: peanuts, almonds, cashews, walnuts, sunflower seeds, pumpkin seeds", "Tamari Sunflower Seeds (recipe follows)", "Cold, sliced roasted beets (see page 186)", "Avocado chunks", "Sliced or diced bell peppers", "Diced hard-boiled egg", "Sprouts, shoots, or microgreens", "Togarashi Blend (page 245)", "Frizzled Shallots (page 244)", "Garlic Chips (page 243)", "Coarsely chopped Napa Cabbage or Bok Choy Kimchi (page 227)", "Pickled Red Onions (page 230)", "Quick Cucumber Pickles (page 231)" ] }, { "section": "tamari sunflower seeds", "ingredients": [ "2 cups raw, hulled sunflower seeds", "½ teaspoon sugar", "3 tablespoons tamari or soy sauce" ] } ], "instructions": [ "Make the dressing: Whisk together the soy sauce, vinegar, and honey, then pour in the oil in a steady stream while whisking, until emulsified.", "Make the salad: Cook the dumplings as directed in the individual recipes.", "Divide the salad greens among four bowls.", "Arrange 6 hot dumplings over each salad, then add toppings as desired.", "Just before serving, drizzle the salad with the vinaigrette, about 1½ tablespoons per bowl, and finish with a few grinds of black pepper.", "Preheat the oven to 325°F.", "Spread the sunflower seeds out on a baking sheet.", "Transfer to the oven and bake, stirring every 10 minutes, until fragrant and beginning to turn golden brown, 20 to 25 minutes.", "Remove from the oven, sprinkle with the sugar, then pour the tamari over the seeds.", "Stir quickly so that the seeds are coated evenly.", "Return the pan to the oven and bake for 8 to 10 minutes more, until the seeds are dry.", "Let cool completely." ], "author": "" }
- Assistant
{ "data": "WWW" }