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": "à la barigoule", "description": "Prepare yourself for a delightfully flavorful dish packed with fresh vegetables, perfect for anyone looking to enjoy a healthy meal.", "subtitle": "with vanilla", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 carrots with tops keeping 1 cm of top", "1 broccoli", "4 medium white onions", "1 fennel bulb", "4 garlic cloves", "1 bundle of green asparagus", "500 ml of chicken stock", "10 coriander seeds", "5 peppercorns", "1 bay leaf", "4 sprigs of thyme", "1 vanilla pod", "olive oil", "sherry vinegar", "sea salt", "coriander leaves" ] } ], "instructions": [ "Peel and wash 4 carrots with tops keeping 1 cm of top, and cut them in half.", "Separate the florets of 1 broccoli and wash them.", "Peel 4 medium white onions.", "Cut 1 fennel bulb into 8 wedges, and rinse.", "Peel 4 garlic cloves.", "Peel and wash 1 bundle of green asparagus, cut the tips into 7 cm lengths and tie in a bundle.", "Plunge the broccoli florets and asparagus in salted boiling water for about 3 minutes.", "Drain and refresh in iced water.", "Heat 500 ml of chicken stock (page 10).", "Tie up 10 coriander seeds, 5 peppercorns, 1 bay leaf, 4 sprigs of thyme and 1 garlic clove in a piece of cotton muslin or an infusion bag.", "Heat a sauté pan with a splash of olive oil.", "Put in the carrots, onions, fennel and garlic cloves.", "Split 1 vanilla pod and add it to the hot chicken stock, then pour this into the sauté pan.", "Then add the bag of aromatic herbs and allow to simmer for 12 to 15 minutes.", "Take out the vanilla pod and bag of aromatic herbs.", "Add the broccoli florets and the asparagus tips then stir gently.", "Lift out all these vegetables with a slotted spoon and keep in a warm dish.", "Reduce the cooking liquid down to a good glassful (200 ml).", "Pour in 2 tablespoons of olive oil and a splash of sherry vinegar and stir vigorously.", "Check the seasoning and pour over the vegetables.", "Add a few grains of sea salt and a few coriander leaves.", "Serve hot." ], "author": "" }
- Assistantjson
{ "data": "FR" }