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": "Beet and Roasted Tomato Toast", "description": "I love roasted tomatoes. Slice them, sprinkle with brown sugar, and they caramelize beautifully without getting soggy. This dish would be perfectly delicious with only these roasted tomatoes on toast, but all the other elements just take it to another level. The nuttiness of the tahini and the acidity of the parsley salad perfectly complement the sweet flavours of the roasted tomatoes.", "subtitle": null, "ingredients": [ { "section": "Roasted Tomato Slices", "ingredients": [ "2 Roma tomatoes, thickly sliced", "4 teaspoons (20 mL) brown sugar", "1/4 teaspoon (1 mL) ground cumin" ] }, { "section": "Beet Tahini", "ingredients": [ "2 medium red beets, scrubbed", "3 tablespoons (45 mL) tahini", "1 clove garlic, peeled", "Juice of 1 lime", "½ teaspoon (2 mL) salt" ] }, { "section": "Parsley Salad", "ingredients": [ "1 cup (250 mL) roughly chopped parsley", "1 cup (250 mL) finely diced grape tomatoes", "½ cup (125 mL) finely diced red onion", "Juice of 2 limes", "½ teaspoon (2 mL) salt", "1/4 teaspoon (1 mL) black pepper" ] }, { "section": "For Serving", "ingredients": [ "4 slices rye bread", "4 poached eggs (see this page)", "1 teaspoon (5 mL) sesame seeds, for garnish" ] } ], "instructions": [ "Preheat the oven to 375°F (190°C) and line a baking sheet with parchment paper.", "Arrange the tomato slices on the baking sheet and sprinkle with brown sugar and cumin.", "Roast the tomatoes for 20 minutes, or until they are slightly shrivelled and caramelized.", "Place the beets in a saucepan and cover them with cold water.", "Cover and bring to a boil.", "Cook for 40 minutes, or until the beets can be easily pierced with a fork.", "Drain the beets, and when cool enough to handle, peel and cut into chunks.", "In a food processor combine the beets, tahini, garlic, lime juice, and salt and purée.", "In a medium bowl combine the parsley, grape tomatoes, onion, lime juice, salt, and pepper.", "Stir until mixed and set aside.", "To assemble, toast the rye bread.", "Place a slice of toast on each plate.", "Spread the Beet Tahini on the toast, top with a few Roasted Tomato Slices, a poached egg, and 1 tablespoon (15 mL) Parsley Salad.", "Sprinkle with sesame seeds and enjoy." ], "author": null }
- Assistantjson
{ "data": "WWW" }