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": "For 4\nPreparation time: 35 min\nResting time: overnight\nCooking time: 40 min\nChard, sheep's cheese\nand ricotta ravioli\nThis has been a classic in the restaurant for a long time. It uses all of the\nchard, both the white and green parts, which is quite rare, and marries it\nwith the creamy freshness of soft sheep's cheese and ricotta. The ravioli,\nhere cooked first in a frying pan and then in vegetable stock, can be made\nin advance and frozen. This is also great served with grilled fish, such\nas red mullet.\nThe ravioli dough\n500 g/1 lb 2 oz plain (all-purpose)\nor 'oo' flour\n10 g/3 oz fine salt\n16 egg yolks\nsplash of olive oil\nI teaspoon distilled white vinegar\nThe filling\n5 shallots\nolive oil\n6 bunches of young chard\n100 ml/3½ fl oz vegetable stock\n(see step-by-step method on p. 126)\n14 bunch of chives\n1/4 bunch of chervil\nzest of 1 lemon\nI\n80 g/3 oz ricotta\n80 g/3 oz fresh soft sheep's cheese\nfine salt, freshly ground pepper\nCooking the ravioli\n50 g/14 oz butter\n200 ml/7 fl oz vegetable stock\n(see step-by-step method on p. 126)\nfine salt\nEquipment\nfood processor\npasta machine\n3 cm/14 in round pastry cutter\n1-The ravioli dough\nSwitch on the food processor and then, in the following order, add the flour, salt, egg\nyolks one by one, olive oil and vinegar. Mix until it forms a dough, then shape into\na ball, wrap in cling film and leave to rest in the fridge overnight.\n2-The filling\nPeel and chop the shallots. Put them into a small saucepan with a splash of olive\noil and cook over a gentle heat for 10 minutes, stirring often, then remove from the\nheat and set aside. Trim the chard, then dice the white parts. Put them in another\nsaucepan with a little olive oil and cook over a gentle heat for about 2 minutes. Add\nthe vegetable stock and cook for 5 minutes, then remove from the heat. Cut the green\nparts of the chard into thin strips, then immerse for a few seconds in boiling salted\nwater. Drain and refresh under cold running water, then drain again. Finely chop\nthe herbs. Chop the lemon zest. Mix together all these ingredients, along with the\ncheeses, then season with salt and pepper and put to one side.\n3- Making the ravioli\nRoll out the pasta dough until it is 5 mm/4 in thick, then use a pastry cutter to cut\nout 3 cm/1⁄4 in circles. Put a spoonful of the filling on top of half of the circles, then\ncover these with the remaining circles and press the edges together to seal, pressing\nout as much air as possible.\n4-Cooking the ravioli\nMelt the butter in a frying pan over a medium heat, add the ravioli and cook for\nabout 2 minutes, or until coloured on both sides. Pour in the vegetable stock, bring\nto the boil and cook for another 2-3 minutes, or until the sauce has reduced and\nis thick enough to coat the ravioli. (For extra richness and gloss, add a little more\ncold diced butter to the sauce.) Season lightly with salt, if necessary, and serve\nimmediately. (See step-by-step method on p. 348.)\nHomemade\n347\n厦"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Chard, sheep's cheese and ricotta ravioli",
"Subtitle": "This has been a classic in the restaurant for a long time.",
"Preparation_Time": 35,
"Cooking_Time": 40,
"Difficulty": "medium",
"Ingredients": [
{
"section": "The ravioli dough",
"ingredients": [
"500 g/1 lb 2 oz plain (all-purpose) or 'oo' flour",
"10 g/3 oz fine salt",
"16 egg yolks",
"splash of olive oil",
"I teaspoon distilled white vinegar"
]
},
{
"section": "The filling",
"ingredients": [
"5 shallots",
"olive oil",
"6 bunches of young chard",
"100 ml/3½ fl oz vegetable stock",
"14 bunch of chives",
"1/4 bunch of chervil",
"zest of 1 lemon",
"80 g/3 oz ricotta",
"80 g/3 oz fresh soft sheep's cheese",
"fine salt, freshly ground pepper"
]
},
{
"section": "Cooking the ravioli",
"ingredients": [
"50 g/14 oz butter",
"200 ml/7 fl oz vegetable stock",
"fine salt"
]
},
{
"section": "Equipment",
"ingredients": [
"food processor",
"pasta machine",
"3 cm/14 in round pastry cutter"
]
}
],
"Description": "This recipe uses all of the chard, both the white and green parts, which is quite rare, and marries it with the creamy freshness of soft sheep's cheese and ricotta. The ravioli, here cooked first in a frying pan and then in vegetable stock, can be made in advance and frozen. This is also great served with grilled fish, such as red mullet.",
"Instructions": [
"1-The ravioli dough: Switch on the food processor and then, in the following order, add the flour, salt, egg yolks one by one, olive oil and vinegar. Mix until it forms a dough, then shape into a ball, wrap in cling film and leave to rest in the fridge overnight.",
"2-The filling: Peel and chop the shallots. Put them into a small saucepan with a splash of olive oil and cook over a gentle heat for 10 minutes, stirring often, then remove from the heat and set aside. Trim the chard, then dice the white parts. Put them in another saucepan with a little olive oil and cook over a gentle heat for about 2 minutes. Add the vegetable stock and cook for 5 minutes, then remove from the heat. Cut the green parts of the chard into thin strips, then immerse for a few seconds in boiling salted water. Drain and refresh under cold running water, then drain again. Finely chop the herbs. Chop the lemon zest. Mix together all these ingredients, along with the cheeses, then season with salt and pepper and put to one side.",
"3- Making the ravioli: Roll out the pasta dough until it is 5 mm/4 in thick, then use a pastry cutter to cut out 3 cm/1⁄4 in circles. Put a spoonful of the filling on top of half of the circles, then cover these with the remaining circles and press the edges together to seal, pressing out as much air as possible.",
"4-Cooking the ravioli: Melt the butter in a frying pan over a medium heat, add the ravioli and cook for about 2 minutes, or until coloured on both sides. Pour in the vegetable stock, bring to the boil and cook for another 2-3 minutes, or until the sauce has reduced and is thick enough to coat the ravioli. (For extra richness and gloss, add a little more cold diced butter to the sauce.) Season lightly with salt, if necessary, and serve immediately."
],
"AuthorName": "",
"Notes_Ingredients": "",
"Notes_Instructions": ""
}