News for hackers. Stuff that matters.
Re:Native JSON Output from GPT-4 by EGreg on Wednesday June 14, 2023 @04:39PM (#36332278)
Actually I'm looking to take GPT-4 output and create file formats like keynote presentations, or pptx. Is that currently possible with some tools?
Re:Native JSON Output from GPT-4 by yonom on Wednesday June 14, 2023 @04:47PM (#36332405)
I would recommend creating a simplified JSON schema for the slides (say, presentation is an array of slides, each slide has a title, body, optional image, optional diagram, each diagram is one of pie, table, ... Then use a library to generate the pptx file from the content generated.
Re:Native JSON Output from GPT-4 by EGreg on Wednesday June 14, 2023 @06:08PM (#36333460)
Library? What library?

It seems to me that a Transformer should excel at Transforming, say, text into pptx or pdf or HTML with CSS etc.

Why don't they train it on that? So I don't have to sit there with manually written libraries. It can easily transform HTML to XML or text bullet points so why not the other formats?

Re:Native JSON Output from GPT-4 by yonom on Wednesday June 14, 2023 @06:25PM (#36333641)
I don't think the name "Transformer" is meant in the sense of "transforming between file formats".

My intuition is that LLMs tend to be good at things human brains are good at (e.g. reasoning), and bad at things human brains are bad at (e.g. math, writing pptx binary files from scratch, ...).

Eventually, we might get LLMs that can open PowerPoint and quickly design the whole presentation using a virtual mouse and keyboard but we're not there yet.

Re:Native JSON Output from GPT-4 by EGreg on Wednesday June 14, 2023 @06:41PM (#36333839)
It’s just XML They can produce HTML and transform python into php etc.

So why not? It’s easy for them no?

Re:Native JSON Output from GPT-4 by stevenhuang on Wednesday June 14, 2023 @06:12PM (#36333510)
apparently pandoc also supports pptx

so you can tell GPT4 to output markdown, then use pandoc to convert that markdown to pptx or pdf.

Re:Native JSON Output from GPT-4 by edwin on Wednesday June 14, 2023 @06:54PM (#36333997)