Settings

Theme

Ask HN: Is it time to start optimizing documentation for machines?

1 points by dandrew5 a year ago · 2 comments · 1 min read

Reader

The more I lean into LLMs for my daily job, the less I find myself reading published documentation. A lot of time has historically been put into having really good, human-readable docs but I'm wondering if that will shift. If a service's documentation was written in a way optimized for training, what might it look like?

JohnFen a year ago

> A lot of time has historically been put into having really good, human-readable docs but I'm wondering if that will shift.

I hope not. The state of documentation in general is already distressing. Making it even less aimed at people can only make it worse.

We shouldn't be worsening things in order to cater to LLMs. LLMs, if there is even a kernel of truth in all the hype, should be able to make good use of human-centered documentation.

  • dandrew5OP a year ago

    True, good documentation is a rare thing. If the hype does hold and the current trajectory of things stays somewhat the same, I think it will be inevitable that the definition of "good documentation" will change. If it were geared towards a machine audience, I wonder if it would increase reliability and reduce hallucination.

    I could imagine a hybrid approach as well where there are two versions: one for humans and one for machines. If respected, the crawlers could look for a special <meta> tag of sorts that points them to the machine version.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection