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": "Dynamite Prawns", "description": "Prawns are always a hit with my family and the Dynamite variety are no exception. Saucy, spicy and bite-sized, these are super-addictive and will keep you going until the main meal arrives.", "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "300g raw peeled and deveined king prawns", "1 tablespoon dark soy sauce", "1 teaspoon garlic powder", "1 teaspoon ground white pepper", "1 egg, beaten", "2 tablespoons cornflour", "200g plain flour", "1 teaspoon paprika", "salt", "oil, for deep-frying" ] }, { "section": "SPICY MAYO SAUCE", "ingredients": [ "130g mayonnaise", "65g sriracha sauce", "50g sweet chilli sauce", "½ teaspoon chilli powder" ] }, { "section": "TO SERVE", "ingredients": [ "green salad", "finely chopped spring onion", "lemon wedges" ] } ], "instructions": [ "For the sauce, place all the ingredients in a bowl, stir to combine and set aside.", "Place the prawns in another bowl with the soy sauce, garlic powder, white pepper and egg and season with salt. Toss well to coat the prawns.", "Place the cornflour, plain flour and paprika on a plate and stir together. Coat the prawns thoroughly in the flour one at a time and place them on a plate ready for deep-frying.", "Heat the oil for deep-frying in a large saucepan on a medium-high heat until it reaches 180°C. Fry the prawns in batches for 3-4 minutes, flipping them over halfway through so they're evenly crisp and golden. Remove from the oil and drain on kitchen paper. Make sure not to overcook the prawns otherwise they will become chewy.", "Place the crispy prawns in a bowl and add as much of the sauce as you like, completely coating them if you want. If you have remaining sauce, you can use it for dipping. Serve the prawns on a bed of green salad sprinkled with spring onions, with lemon wedges for squeezing." ], "author": null }
- Assistantjson
{ "data": "WWW" }