Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A problem I’ve found with LLMs for docs is that they are like ten times too wordy. They want to document every path and edge case rather focusing on what really matters.

It can be addressed with prompting, but you have to fight this constantly.



> A problem I’ve found with LLMs for docs is that they are like ten times too wordy

This is one of the problems I feel with LLM-generated code, as well. It's almost always between 5x and long and 20x (!) as long as it needs to be. Though in the case of code verbosity, it's usually not because of thoroughness so much as extremely bad style.


I think probably my most common prompt is "Make it shorter. No more than ($x) (words|sentences|paragraphs)."


I've never been able to get that to work. LLMs can't count; they don't actually know how long their output is.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: