Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by gdcbe on Tuesday March 05, 2024 @12:37PM
(#39606678)
“Where we going we don’t need docs”. That scares me… docs are among other things there to provide context and info for things not clear from why certain choices were made or not made… no way your AI is going to guess that I put that restriction because of an explicit request from product, despite it looking wrong…
[ Parent
| on HN ]
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by soohoonchoi on Tuesday March 05, 2024 @12:45PM
(#39606787)
Cofounder of Greptile here, good documentation is not going anywhere. What we do hate is going through bad documentation to find the tiny bit of information we need that is more often than not outdated to fit our needs. We are looking for ways to integrate information not explicitly written in code to understand codebases as well.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by smokel on Tuesday March 05, 2024 @12:43PM
(#39606770)
Indeed. Code describes how something is done, and possibly what is done, but it seldom fully describes why something is done, or why code exists in the first place.
The latter is typically the realm of requirements, design documentation, and possibly test plans.
Generating such documentation from code seems quite impossible, or at least wrong.
It is unfortunate that most open source software is lacking in such documentation, giving off bad signals to junior developers.
Edit: not to take away from the product being discussed here, which seems very useful! I am merely supporting the parent here.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by eikenberry on Tuesday March 05, 2024 @03:15PM
(#39608658)
> The latter is typically the realm of requirements, design documentation, and possibly test plans.
You forgot one of the biggest spots for "why" documentation... git commit messages, where the point is to say why you made this change. Maybe taking into account the commit messages around the code in question would help.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by smokel on Tuesday March 05, 2024 @03:18PM
(#39608704)
"Initial commit" is my goto commit message.
Still a great idea, though. Ingesting all data from JIRA may be beneficial as well.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by eikenberry on Tuesday March 05, 2024 @05:06PM
(#39609722)
Yep... and the why of that message is apparent and makes perfect sense for the first commit. If you only ever start projects and never work on them again, that is all you need.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by colordrops on Tuesday March 05, 2024 @07:29PM
(#39610824)
If you don't use proper commit messages you also probably don't have proper docs
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by levelforge on Wednesday March 06, 2024 @12:01AM
(#39612509)
We already do that and more at Maru.ai - reach out if you're interested.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by dakshgupta on Tuesday March 05, 2024 @03:02PM
(#39608504)
This is a great point, and something we think about. I think to an extent a super smart version of our product could infer intent from the code but there would be definitely something amiss if the author's intent was just never available.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by colordrops on Tuesday March 05, 2024 @01:04PM
(#39607026)
This sort of tech will just spur developers to put proper comments in their code, which they should have been doing in the first place.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by dakshgupta on Tuesday March 05, 2024 @03:01PM
(#39608485)
Didn't even think about that, hopefully it turns out to be true.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by colordrops on Tuesday March 05, 2024 @07:28PM
(#39610823)
Could even make it an explicit feature, to consume jsdoc/javadoc/etc comments
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by john-radio on Tuesday March 05, 2024 @07:32PM
(#39610851)
I hope so! Unfortunately it will definitely be massively increasing the ratio of documentation to intentional documentation, so we'll have to see whether it increases documentation usability or not.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by ActionHank on Wednesday March 06, 2024 @08:02AM
(#39615492)
I can imagine the founder shout “Where we going we don’t need docs” whilst shoveling VC money into the steam engine.
Re:Launch HN: Greptile (YC W24) - RAG on codebases that actu...
by emil_sorensen on Wednesday March 06, 2024 @10:59AM
(#39617311)
Yep, agreed. As a founder of another YC company that's done a bunch of RAG on code and docs, the accuracy boost you get from having good docs makes a massive difference. You really do need a human interpreter to show you "how to use" a product.