Goal
Objectif est d'extraire et structurer les informations d'une recette de cuisine sous forme d'un objet JSON sans jamais modifier le texte d'origine.
code
Assistant
1. Identification et extraction des informations demandées.
2. Calcul des temps de préparation et de cuisson si non précisés.
3. Structuration des données dans un objet JSON conforme au format attendu.
4. Respect strict de la langue d'origine et du texte des instructions.
5. Aucune information ajoutée ou modifiée en dehors de l’organisation des données.
Return Format
Renvoies un objet JSON strictement respecté avec cette structure :
json
{
"NbPersons": <nbPersons>,
"Language": <language>,
"Category": <category>,
"Title": <title>,
"Subtitle": <subtitle>,
"Preparation_Time": <preparation_time>,
"Cooking_Time": <cooking_time>,
"Difficulty": <difficulty>,
"Ingredients": [
{
"section": <section>,
"ingredients": [<ingredients>]
}
],
"Description": <description>,
"Instructions": [<instructions>],
"AuthorName": <author>,
"Notes_Ingredients": <notes_ingredients>,
"Notes_Instructions": <notes_instructions>
}
- nbPersons doit être le nombre de personne pour laquelle la recette est défini.
- language doit être le code ISO 639 de la langue de la recette
- category doit être "drinks" si c'est du liquide parmis cette liste (thé, café, jus de fruit, cocktail). Sinon choisis la meilleure option parmis (bread, appetizer, starter, main, dessert, breakfast, snack, teatime, jam, sauce)
- title doit être le nom de la recette
- subtitle doit être un complément du nom de la recette.
- preparation_time doit être le temps de préparation total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- cooking_time doit être le Temps de cuisson total (en minutes) si pas d'information essaie de calculer en fonction des informations fournies
- difficulty doit être une difficulté parmis (easy, medium, hard)
- ingredients doit être une liste des ingrédients avec les quantités par section. Exemple: {section: "Pour la sauce", ingredients: ["1 kg de beurre"]}. Si absence d'information pour la section, tu mettras "Pour la recette".
- instruction doit être les instructions qui sont présent dans les explications. Précises bien en détails ce qui est écris pour les instructions. Fais attention à respecter l'ordre des instructions. C'est une liste de string.
- description doit être une présentation qui donne envie de faire la recette.
- notes_ingredients doit être les détails importants qui sont précisé concernant les ingrédients (ingrédient facultatif, remplacement d'un ingrédient par un autre ingrédient...)
- notes_instructions doit être les détails important qui sont précisé concernant les étapes pour faire la recette (actuces, conseils...)
Warnings
- Ne modifie aucun texte d'origine (titre, description, ingrédients, instructions).
- Ne traduis pas la langue de la recette, elle doit être identifiée et conservée.
- Les instructions doivent être strictement identiques à l'original, sans reformulation.
- Si une information est absente, laisse le champ vide, sans ajout d’invention.
- Les quantités d’ingrédients doivent rester sous forme de liste de chaînes de caractères.
- Respecte le format JSON exact et assure-toi qu’il soit bien formatté.
Context Dump
Texte source fourni :
{
"explication": "Fish\nPreparation 30 mins\nFinely sliced marinated\ngrey mullet with\ncurried vegetable\ntartare\nAD-Sharpen your knife well before ... Serves 4\nslicing the mullet fillet. Or ask your\nfishmonger to cut it into very thin\ncarpaccio slices.\nPN The mullet is distinctive\nfor its rich vitamin B6 content,\nfairly rare in a fish. It is regarded\nas an \"oily\" fish because it contains\nhealth-giving Omega 3.\nPrepare the mullet\nSlice a 300 g fillet of grey mullet into very thin slices and lay\nthem side by side in a dish.\n.. Grate the zest of 1 unwaxed lemon. Finely mince or grate 2 spring\nonions.\nSqueeze the juice of the unwaxed lemon into a small bowl, add 4\ntablespoons of olive oil, 2 pinches of sea salt, 2 pinches of\nPiment d'Espelette, the grated lemon zest and minced spring onions.\nSpread this marinade over the slices of fish and leave in a cold\nplace for 20 minutes.\nPrepare the vegetable tartare\nIn the meantime, peel and wash 1 carrot, 1 small fennel bulb,\nhalf a cucumber, 3 spears of green asparagus and 10 radishes.\n.... Cut the half cucumber in two and scoop out the seeds. Cut the\nasparagus tips into 8 to 10 cm lengths. Cut all the other\nvegetables into small chunks.\n.. Peel and finely chop half a garlic clove. Wash 2 sprigs of basil,\n1 sprig of parsley and 1 sprig of coriander, chop the leaves.\n... Blitz the chunks of vegetables in the blender in short bursts so\nthat they are not too fine and do not release their liquid.\n... In a salad bowl, combine 1 Greek-style yogurt (125 g), the chopped\ngarlic, 2 pinches of Indian curry powder, the chopped herbs, the\njuice of half a lime, 2 tablespoons of olive oil and mix well with\na whisk.\nIncorporate the chopped vegetables, stir delicately and adjust the\nseasoning salt.\n... Share the vegetable tartare out into four individual bowls, then\npile the mullet slices on top. Serve cold.\n264 ... Sea"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "appetizer",
"Title": "Fish",
"Subtitle": "Finely sliced marinated grey mullet with curried vegetable tartare",
"Preparation_Time": 30,
"Cooking_Time": "",
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"300 g de filet de mulet gris",
"1 citron non ciré",
"2 oignons nouveaux",
"4 cuillères à soupe d'huile d'olive",
"2 pincées de sel de mer",
"2 pincées de Piment d'Espelette",
"1 carotte",
"1 petit bulbe de fenouil",
"1/2 concombre",
"3 asperges vertes",
"10 radis",
"1/2 gousse d'ail",
"2 brins de basilic",
"1 brin de persil",
"1 brin de coriandre",
"1 yaourt à la grecque (125 g)",
"2 pincées de curry indien en poudre",
"1/2 lime"
]
}
],
"Description": "A delightful dish featuring finely sliced, marinated grey mullet served with a curried vegetable tartare. A fresh and healthy option, rich in Omega 3, providing a unique flavor experience.",
"Instructions": [
"Slice a 300 g fillet of grey mullet into very thin slices and lay them side by side in a dish.",
"Grate the zest of 1 unwaxed lemon.",
"Finely mince or grate 2 spring onions.",
"Squeeze the juice of the unwaxed lemon into a small bowl, add 4 tablespoons of olive oil, 2 pinches of sea salt, 2 pinches of Piment d'Espelette, the grated lemon zest and minced spring onions.",
"Spread this marinade over the slices of fish and leave in a cold place for 20 minutes.",
"In the meantime, peel and wash 1 carrot, 1 small fennel bulb, half a cucumber, 3 spears of green asparagus and 10 radishes.",
"Cut the half cucumber in two and scoop out the seeds.",
"Cut the asparagus tips into 8 to 10 cm lengths.",
"Cut all the other vegetables into small chunks.",
"Peel and finely chop half a garlic clove.",
"Wash 2 sprigs of basil, 1 sprig of parsley and 1 sprig of coriander, chop the leaves.",
"Blitz the chunks of vegetables in the blender in short bursts so that they are not too fine and do not release their liquid.",
"In a salad bowl, combine 1 Greek-style yogurt (125 g), the chopped garlic, 2 pinches of Indian curry powder, the chopped herbs, the juice of half a lime, 2 tablespoons of olive oil and mix well with a whisk.",
"Incorporate the chopped vegetables, stir delicately and adjust the seasoning salt.",
"Share the vegetable tartare out into four individual bowls, then pile the mullet slices on top.",
"Serve cold."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}