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": "THE WINE\nRHONE WINE,\nSAINT-PERAY\nOVEN-POACHED\nLINE-CAUGHT POLLACK\nMarinière-Style Shellfish\nFISH 81\nBENOIT\nPREP THE FISH\nDress* and fillet the fish with a sharp knife, and remove any bones.\nLay the fillets skin side down on a tray. Mix the sea salt with the\nsugar. Rub the fillets with the mixture on both sides. Lay the fillets on\na wire rack over a tray, and set aside* in the refrigerator for 1 hour\n30 minutes. Rinse the fillets in cold water and lay on a cloth to dry\nwell. Cut the fillets into four 160g - 5.64 ounce steaks and refrigerate.\nMAKE THE SHELLFISH\nAND\nMARINIÈRE SAUCE\nOne day ahead, purge* the mussels, clams, cockles, periwinkles, and\nrazor clams by soaking them in salted water in the refrigerator for\n24 hours. The day of serving, cook the mussels, clams, and cockles\nseparately: For each type of shellfish, heat 1 tablespoon olive oil in\na sauté pan and add 20g - 0.71 ounce (1 1/2 tablespoons) butter,\none garlic clove, and one thyme sprig. Add the shellfish and place\nover high heat. Deglaze with 50ml 3 1/2 tablespoons wine and\ncover immediately with a lid. When the shells have opened wide,\ntransfer to a perforated tray to recover the cooking liquid. Discard\nany unopened shellfish.\nCombine the different cooking liquids and set aside* a third of it.\nReduce the remainder by one-third, and add the cream and lemon\njuice. Set aside this sauce for cooking the fish. Boil* the periwinkles\nand cut the raw razor clams on a diagonal. Trim the mussels and\nset aside a few whole cockles and clamshells for finishing. Shell all\nof the shellfish and finely slice the periwinkles.\nFINISHING\nPreheat the oven to 160°C - 350°F (gas mark 4). Heat a little olive oil\nin an oval porcelain baking dish on your stovetop and sear* the fish\nsteaks. Finish cooking the fish by glazing* with the marinière sauce\nfor 5 minutes in the oven. Beat* the reserved shellfish cooking liquid\nwith the butter. Heat the shellfish in a saucepan with this mixture.\nPlace a steak in the middle of each plate, arrange the shellfish around\nit, then cover with the marinière sauce. Decorate with a few shells.\nSERVES 4\nPREPARATION: 30 MINUTES\nCOOKING: 50 MINUTES\nRESTING: 24 HOURS +\n1 HOUR 30 MINUTES\nFISH\n1 (3KG 6 POUND 10 OUNCE) LINE-\nCAUGHT POLLACK\n500G 1 POUND 2 OUNCES\n(2 1/4 CUPS) COARSE GRAY SEA SALT\n50G 1.76 OUNCES (1/4 CUP)\nSUGAR\n1 TABLESPOON OLIVE OIL\nSHELLFISH AND\nMARINIERE SAUCE\n500G 1 POUND 2 OUNCES\nBOUCHOT MUSSELS\n1 KG 2 POUNDS 4 OUNCES CLAMS\n1 KG 2 POUNDS 4 OUNCES\nCOCKLES\n1 KG 2 POUNDS 4 OUNCES\nPERIWINKLES (WINKLES)\n1 KG 2 POUNDS 4 OUNCES\nRAZOR CLAMS\n3 TABLESPOONS OLIVE OIL\n60G2.12 OUNCES\n(4 1/2 TABLESPOONS) BUTTER\n3 CLOVES PINK GARLIC\n3 SPRIGS THYME\n150ML 2/3 CUP DRY WHITE WINE\n250ML 1 CUP WHIPPING CREAM\nJUICE OF 1 LEMON\nFINISHING\nOLIVE OIL\n20G 0.71 OUNCE\n(1 1/2 TABLESPOONS) COLD BUTTER"
}
json
{
"NbPersons": 4,
"Language": "en",
"Category": "main",
"Title": "OVEN-POACHED LINE-CAUGHT POLLACK",
"Subtitle": "Marinière-Style Shellfish",
"Preparation_Time": 30,
"Cooking_Time": 50,
"Difficulty": "medium",
"Ingredients": [
{
"section": "Pour la recette",
"ingredients": [
"1 (3KG 6 POUND 10 OUNCE) LINE-CAUGHT POLLACK",
"500G 1 POUND 2 OUNCES (2 1/4 CUPS) COARSE GRAY SEA SALT",
"50G 1.76 OUNCES (1/4 CUP) SUGAR",
"1 TABLESPOON OLIVE OIL",
"500G 1 POUND 2 OUNCES BOUCHOT MUSSELS",
"1 KG 2 POUNDS 4 OUNCES CLAMS",
"1 KG 2 POUNDS 4 OUNCES COCKLES",
"1 KG 2 POUNDS 4 OUNCES PERIWINKLES (WINKLES)",
"1 KG 2 POUNDS 4 OUNCES RAZOR CLAMS",
"3 TABLESPOONS OLIVE OIL",
"60G 2.12 OUNCES (4 1/2 TABLESPOONS) BUTTER",
"3 CLOVES PINK GARLIC",
"3 SPRIGS THYME",
"150ML 2/3 CUP DRY WHITE WINE",
"250ML 1 CUP WHIPPING CREAM",
"JUICE OF 1 LEMON",
"OLIVE OIL",
"20G 0.71 OUNCE (1 1/2 TABLESPOONS) COLD BUTTER"
]
}
],
"Description": "A delicious and sophisticated dish featuring oven-poached line-caught pollack paired with marinière-style shellfish, perfect for an elegant dinner party.",
"Instructions": [
"Dress* and fillet the fish with a sharp knife, and remove any bones.",
"Lay the fillets skin side down on a tray.",
"Mix the sea salt with the sugar.",
"Rub the fillets with the mixture on both sides.",
"Lay the fillets on a wire rack over a tray, and set aside* in the refrigerator for 1 hour 30 minutes.",
"Rinse the fillets in cold water and lay on a cloth to dry well.",
"Cut the fillets into four 160g - 5.64 ounce steaks and refrigerate.",
"One day ahead, purge* the mussels, clams, cockles, periwinkles, and razor clams by soaking them in salted water in the refrigerator for 24 hours.",
"The day of serving, cook the mussels, clams, and cockles separately: For each type of shellfish, heat 1 tablespoon olive oil in a sauté pan and add 20g - 0.71 ounce (1 1/2 tablespoons) butter, one garlic clove, and one thyme sprig.",
"Add the shellfish and place over high heat.",
"Deglaze with 50ml 3 1/2 tablespoons wine and cover immediately with a lid.",
"When the shells have opened wide, transfer to a perforated tray to recover the cooking liquid.",
"Discard any unopened shellfish.",
"Combine the different cooking liquids and set aside* a third of it.",
"Reduce the remainder by one-third, and add the cream and lemon juice.",
"Set aside this sauce for cooking the fish.",
"Boil* the periwinkles and cut the raw razor clams on a diagonal.",
"Trim the mussels and set aside a few whole cockles and clamshells for finishing.",
"Shell all of the shellfish and finely slice the periwinkles.",
"Preheat the oven to 160°C - 350°F (gas mark 4).",
"Heat a little olive oil in an oval porcelain baking dish on your stovetop and sear* the fish steaks.",
"Finish cooking the fish by glazing* with the marinière sauce for 5 minutes in the oven.",
"Beat* the reserved shellfish cooking liquid with the butter.",
"Heat the shellfish in a saucepan with this mixture.",
"Place a steak in the middle of each plate, arrange the shellfish around it, then cover with the marinière sauce.",
"Decorate with a few shells."
],
"AuthorName": "BENOIT",
"Notes_Ingredients": "",
"Notes_Instructions": "Resting: 24 HOURS + 1 HOUR 30 MINUTES"
}