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: 45 min\nCooking time: 50 min\nInfusing time: 20 min\nFish terrine with\nbrown shrimp cream\nFish terrines are very delicate: their gentle flavour and melting texture\nmakes them unique. So it should go without saying that you need to use\nthe freshest fish possible.\nThe fish terrine\n250 g/8½ oz skinless fillets of\nwhite fish (such as cod or pollock),\nall bones removed\n75 g/24 oz egg white (from\nabout 3 eggs)\n170 ml/5% fl oz single (pouring)\ncream\n40 g/1½ oz shelled brown shrimp\nfine salt\nThe brown shrimp cream\n100 g/3½ oz whole brown shrimp\nsplash of olive oil\nknob of butter\n½ shallot\n50 ml/14 fl oz vegetable stock\n(see step-by-step method on p. 126)\n50 ml/14 fl oz milk\n250 ml/9 fl oz single (pouring) cream\n2 pinches of green Szechuan pepper\nfine salt\nFinishing off\n40 g/1½ oz whole brown shrimp\nI sheet of wakame seaweed\nEquipment\nfood processor\nterrine mould, preferably silicone\n1 The fish terrine\nPut the fish, egg white, cream and a little salt in a food processor and process to\na smooth mixture. Butter the terrine mould and put half the fish mixture in the\nbottom, followed by the brown shrimp, then the rest of the fish mixture. Cover\nthe mould with cling film, making sure it is thoroughly sealed, then place in a large\nlidded pan or fish kettle. Pour enough water into the pan to come three-quarters of\nthe way up the sides of the terrine mould, then put the lid on the pan. Heat until the\nwater is at a steady simmer (about 90°C\n195 F. so that it bubbles but never boils), and\ncook the terrine in this bain-marie for about 50 minutes.\n2-The brown shrimp cream\nWhile the terrine is cooking, lightly brown the shrimp in a saucepan with the olive\noil and butter. Add the finely chopped shallot and cook for 2 minutes, then add the\nvegetable stock and milk. Bring to the boil and simmer for 4-5 minutes. Next, add\nthe cream and Szechuan pepper and return to the boil, then remove from the heat.\nCover and leave to infuse for 20 minutes before straining through a sieve into a clean\nsaucepan. Taste and add a little salt if necessary.\n3-Finishing off\nGently heat the brown shrimp cream with the 40 g/1 oz brown shrimp and the\nfinely shredded seaweed\ndon't let it boil. Remove the terrine from the bain-marie\nand carefully unmould it. Leave it to cool slightly, then cut into slices and serve with\nthe brown shrimp cream drizzled over the top.\nSome technical advice | Temperature is key to the success of this recipe. If the fish mixture\ngets too hot in the food processor (as a result of friction from the blades), the texture will be grainy.\nTo avoid this, put all the fish terrine ingredients into the freezer for 10 minutes before starting.\nEveryday\n26"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "Fish terrine with brown shrimp cream",
"Subtitle": "A delicate fish dish with a creamy touch",
"Preparation_Time": 45,
"Cooking_Time": 50,
"Difficulty": "medium",
"Ingredients": [
{
"section": "The fish terrine",
"ingredients": [
"250 g/8½ oz skinless fillets of white fish (such as cod or pollock), all bones removed",
"75 g/24 oz egg white (from about 3 eggs)",
"170 ml/5% fl oz single (pouring) cream",
"40 g/1½ oz shelled brown shrimp",
"fine salt"
]
},
{
"section": "The brown shrimp cream",
"ingredients": [
"100 g/3½ oz whole brown shrimp",
"splash of olive oil",
"knob of butter",
"½ shallot",
"50 ml/14 fl oz vegetable stock",
"50 ml/14 fl oz milk",
"250 ml/9 fl oz single (pouring) cream",
"2 pinches of green Szechuan pepper",
"fine salt"
]
},
{
"section": "Finishing off",
"ingredients": [
"40 g/1½ oz whole brown shrimp",
"I sheet of wakame seaweed"
]
}
],
"Description": "Fish terrines are very delicate: their gentle flavour and melting texture makes them unique. So it should go without saying that you need to use the freshest fish possible.",
"Instructions": [
"Put the fish, egg white, cream and a little salt in a food processor and process to a smooth mixture.",
"Butter the terrine mould and put half the fish mixture in the bottom, followed by the brown shrimp, then the rest of the fish mixture.",
"Cover the mould with cling film, making sure it is thoroughly sealed, then place in a large lidded pan or fish kettle.",
"Pour enough water into the pan to come three-quarters of the way up the sides of the terrine mould, then put the lid on the pan.",
"Heat until the water is at a steady simmer (about 90°C/195 F, so that it bubbles but never boils), and cook the terrine in this bain-marie for about 50 minutes.",
"While the terrine is cooking, lightly brown the shrimp in a saucepan with the olive oil and butter.",
"Add the finely chopped shallot and cook for 2 minutes, then add the vegetable stock and milk.",
"Bring to the boil and simmer for 4-5 minutes.",
"Next, add the cream and Szechuan pepper and return to the boil, then remove from the heat.",
"Cover and leave to infuse for 20 minutes before straining through a sieve into a clean saucepan.",
"Taste and add a little salt if necessary.",
"Gently heat the brown shrimp cream with the 40 g/1 oz brown shrimp and the finely shredded seaweed; don't let it boil.",
"Remove the terrine from the bain-marie and carefully unmould it.",
"Leave it to cool slightly, then cut into slices and serve with the brown shrimp cream drizzled over the top."
],
"AuthorName": "Everyday",
"Notes_Ingredients": "Temperature is key to the success of this recipe. If the fish mixture gets too hot in the food processor (as a result of friction from the blades), the texture will be grainy. To avoid this, put all the fish terrine ingredients into the freezer for 10 minutes before starting.",
"Notes_Instructions": ""
}