20 | | Suddenly, teachers are confronted with homework from their students that might have been AI-generated. |
| 20 | Suddenly, teachers are confronted with homework from their students that might have been AI-generated. But can it do more than summarize stuff it found on the web? |
| 21 | |
| 22 | Here's a DITA topic ChatGPT generated after some instructions. It gathered the information by itself, added hazardstatements (there were more, one was left as an example), and it was also able to apply terminology provided as a list. |
| 23 | {{{ |
| 24 | <?xml version="1.0" encoding="UTF-8"?> |
| 25 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"> |
| 26 | <task id="remove-paint"> |
| 27 | <title>How to Remove Old Paint using NaOH Solution</title> |
| 28 | <taskbody> |
| 29 | <prereq> |
| 30 | <p>Before you start, gather the following materials:</p> |
| 31 | <ul> |
| 32 | <li>Protective gloves and goggles</li> |
| 33 | <li>NaOH (sodium hydroxide)</li> |
| 34 | <li>Water</li> |
| 35 | <li>Bucket or container</li> |
| 36 | <li>Scrub brush or wire brush</li> |
| 37 | <li>Putty knife or scraper</li> |
| 38 | <li>Paper towels or rags</li> |
| 39 | </ul> |
| 40 | <p>Be aware that sodium hydroxide is a caustic substance that can cause severe skin and eye irritation. Use gloves and goggles to protect yourself from the solution.</p> |
| 41 | </prereq> |
| 42 | <steps> |
| 43 | <step> |
| 44 | <hazardstatement type="danger"> |
| 45 | <messagepanel> |
| 46 | <typeofhazard>Skin and eye irritation</typeofhazard> |
| 47 | <consequence>Sodium hydroxide is a caustic substance that can cause severe skin and eye irritation.</consequence> |
| 48 | <howtoavoid>Wear protective gloves and goggles while handling the solution.</howtoavoid> |
| 49 | </messagepanel> |
| 50 | </hazardstatement> |
| 51 | <cmd>Mix 1 kg of NaOH with 5 L of water according to the manufacturer's instructions.</cmd> |
| 52 | <info><p><b>Note:</b> Be careful when handling NaOH as it can cause skin and eye irritation. Follow the instructions on the package for safe handling.</p></info> |
| 53 | </step> |
| 54 | <step> |
| 55 | <cmd>Apply the NaOH solution to the painted surface using a brush or sponge.</cmd> |
| 56 | <info><p><b>Note:</b> Make sure to cover the painted surface evenly with the solution.</p></info> |
| 57 | </step> |
| 58 | <step> |
| 59 | <cmd>Allow the solution to sit on the surface for 10-15 minutes.</cmd> |
| 60 | <info><p><b>Note:</b> The length of time may vary depending on the thickness and age of the paint.</p></info> |
| 61 | </step> |
| 62 | <step> |
| 63 | <cmd>Scrub the surface with a scrub brush or wire brush to remove the paint.</cmd> |
| 64 | <info><p><b>Note:</b> Use a putty knife or scraper to remove any stubborn areas of paint.</p></info> |
| 65 | </step> |
| 66 | <step> |
| 67 | <cmd>Rinse the surface thoroughly with water to remove any remaining NaOH solution.</cmd> |
| 68 | <info><p><b>Note:</b> Use paper towels or rags to dry the surface after rinsing.</p></info> |
| 69 | </step> |
| 70 | </steps> |
| 71 | </taskbody> |
| 72 | </task> |
| 73 | }}} |
| 74 | |
| 75 | This was generated with few and general instructions, and just using the standard chat. For real-life applications like this one, the ChatGPT API would be used instead. This would enable providing the terminology and some DITA writing rules in structured form. A possible application could be that service technicians or engineering write a bullet list with instructions and the AI organizes them into a DITA task prototype that only needs to be fine-tuned by a technical writer. |