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": "Vegetable Noodles", "description": "This is probably one of the easiest and most delicious noodle dishes to make. These noodles can be rustled up in no time at all. Perfect on their own, or on the side with Sweet & Sour Chicken (see page 88).", "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "150g dried medium egg noodles", "2 tablespoons oil", "2 garlic cloves, chopped", "1 jalapeño chilli, finely sliced", "1 onion, finely sliced", "50g cabbage, finely shredded", "50g carrot, julienned", "50g green beans", "½ red pepper, finely sliced", "½ green pepper, finely sliced", "2 tablespoons dark soy sauce", "2 tablespoons chilli sauce", "1 teaspoon rice vinegar", "1 teaspoon ground black pepper", "1 teaspoon chilli flakes", "1 teaspoon salt" ] }, { "section": "GARNISH", "ingredients": [ "1 teaspoon toasted sesame seeds", "finely chopped spring onions" ] } ], "instructions": [ "Cook the noodles according to the packet instructions, drain and set aside.", "Heat the oil in a large wok on a high heat, add the garlic, sliced jalapeño and onion and stir-fry for 2 minutes.", "Add the cabbage, carrot, green beans and red and green peppers.", "Stir-fry for 3-4 minutes until softened but still with some bite. Do not overcook the veggies.", "Reduce the heat to medium, add the soy sauce, chilli sauce, rice vinegar, black pepper, chilli flakes and salt and toss with the noodles for 2 minutes.", "Sprinkle with sesame seeds and chopped spring onions to garnish." ], "author": null }
- Assistant
{ "data": "WAS" }