# Use a pipeline as a high-level helper from transformers import pipeline testo= """6.2_ KNIFE CHANGE When the software indicates a knife change (see figure 63), follow these steps: 1. Press the emergency button to turn off the motors. 2. Press the cover lift button on the cutting head (figure 63b). 3. Rotate the plate to access the two screws comfortably that secure the knife to the knife holder. 4. Use a 2.5 mm hex key to remove the 2 screws from the knife holder (fig. 64) by turning counterclock‐ wise. Figure 63—knife change notice Figure 63b —buttons that raise and lower the cover Cutting head cover opening button 6 — 63 NOTICE The knife must pass through all its guides. Repeat the insertion process into the guide sleeve if the knife appears to be forced or is not aligned correctly. 5. Detach the knife from the knife holder (fig. 65) by moving the knife downward. 6. Rotate the plate to a position that makes it easy to remove the knife: place the cutting edge towards the beam. 7. Pull the knife upwards from the guide sleeve, being careful not to cut yourself (fig. 66). The knife is sharp! WARNING The knife is sharp: exercise extreme caution and avoid touching the sharp edge. It is recom‐ mended to use specialized gloves for maintenance operations. NOTICE The knife cannot be secured if inserted the wrong way, as the screw holes would not align. Pay attention to the insertion direction of the knife: the noncutting edge must face towards the plate support. 8. Insert the new knife from the top to the bottom, ensuring that you align the guides located inside the guide sleeve and on the plate support. 9. Position the knife so that the holes on its upper part align with the holes on the knife holder. 10. Tighten the two securing screws using the 2.5 mm hex key. Figure 65—knife removal Figure 66—knife extraction 6 — 64 11. Lower the cutting head cover by using the dedicated button on the operator panel and release the pre‐ viously pressed emergency button. 12. Start the machine's motors using the appropriate switch on the computer console (see 4.2). 13. Open the VCUT program and navigate to the PARAMETERSKNIFE section. Click on the "NEW KNIFE" button to restore the values related to the knife size and consumption (figure 67). NOTICE Failure to confirm the knife change in the VCUT program can lead to inaccuracies in cutting. The knife dimensions entered in the VCUT program must always match the actual knife dimensions. PARAMETERS button KNIFE button Figure 67—setting “new knife ” in the VCUT software 6 — 65 """ query = "how to change the knife ?" messages=[ {"role": "system", "content": "Sei un esperto tecnico specializzato in macchine da taglio. Rispondi in italiano alla domanda con chiarezza, fornendo dettagli tecnici accurati e, se possibile, esempi pratici. Usa un tono professionale ma accessibile."}, {"role": "user", "content": f"Testo: '{testo}'\n\nDomanda: {query}"}, ] pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B") pipe(messages)