7 ms·
OOXML is incredibly complicated, but LLMs can write it well enough. One of my colleagues was using an LLM to generate PNG slides for a presentation. They looked
by orthoxerox 25d ago
OOXML is incredibly complicated, but LLMs can write it well enough. One of my colleagues was using an LLM to generate PNG slides for a presentation. They looked pretty, but changing anything was a pain. I fed the images to free ChatGPT and asked for a PPTX with every text box, frame and image split into its own object, and it spat out a real, editable presentation.
- rationalist 25d agoYou could probably then copy-and-paste those into a PPTX file created by PowerPoint to make sure there were no weird things going on with the file(structure) that might cause problems later.
- theolivenbaum 25d agoThey added a whole set of skills and python scripts for interacting with office files using libreoffice headless, it's not writing the XML files directly
- danielochoa0620 24d agoRight it's mostly python scripts instead of generating the entire XML, but they do make changes to the XML directly to get around python-pptx limitations: https://github.com/anthropics/skills/blob/main/skills/pptx/SKILL.md https://github.com/anthropics/skills/blob/main/skills/pptx/S... Ironically, the Claude PowerPoint add-in actually does a lot of direct XML because the Office.js library can't even do charts
- fassssst 25d agoChatGPT has a very sophisticated Office doc renderer these days, to be fair.