Narrative text is a worse UI pattern. It's impractical to read. Also how exactly do you merge narrative changes if you need to write several transformations as updates? Are you expected to update the original text? How does this affect diffs in version control? I think it's more ideal to have the LLM map text to some declarative pseudocode that's easy to read which is then translated to code. The example given by Dan…
It decided to output something JSON and maybe YAML once.