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": "gazpacho", "description": "Without its garnish, it's perfect for a cold cocktail or as a snack between meals. Whether you serve this gazpacho as a drink or a starter, it provides you with a stack of vitamino, antioxidants and fibre. With the added bonus of the good fatty acids of a little olive oil. So, eat as much as you like!", "subtitle": "Tomato and pepper", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "6 très mûres tomates", "1 concombre", "2 poivrons verts", "0,5 gousse d'ail", "1 oignon silverskin", "50 g de pain complet rassis", "5 cuillères à soupe de vinaigre de sherry", "2 cuillères à soupe d'huile d'olive", "sel", "500 ml d'eau" ] } ], "instructions": [ "The day before", "Wash 4 very ripe tomatoes, half a cucumber and 1 green pepper. Remove the seeds from the pepper.", "Peel half a garlic clove and 1 silverskin onion.", "Cut all these vegetables into cubes and combine in a bowl.", "Pick the leaves from a very small bunch of basil, crush them and add to the vegetables.", "Cut 50 g of stale wholemeal bread into small pieces and put them in a small bowl. Add 5 tablespoons of sherry vinegar and stir until the bread has soaked it up. Add this to the bowl.", "Add 2 tablespoons of olive oil and a little salt. Stir the mixture.", "Cover the bowl with cling film and refrigerate for 12 hours.", "On the day", "Pour the contents of the bowl into the blender. Turn it on and add 2 tablespoons of olive oil and 500 ml of water (or more), adjusting the quantity to produce a gazpacho that is not too thick.", "Filter through a conical strainer. Correct the seasoning with salt and freshly ground black pepper and refrigerate for at least 2 hours.", "Blanch and deseed 2 tomatoes, chop the flesh into small dice.", "Peel the remaining half a cucumber and 1 green pepper and dice similarly.", "Arrange this garnish in the soup plates or a tureen. Pour the gazpacho on top and serve nice and cold." ], "author": "" }
- Assistantjson
{ "data": "ES" }