3 ms·
This sounds like a job for middleware. Condensing split code into a single huge file, shortening comments, removing whitespace and such can be done by a preproc
by brucethemoose2 3y ago
This sounds like a job for middleware. Condensing split code into a single huge file, shortening comments, removing whitespace and such can be done by a preprocessor for the llm.
- gabereiser 3y agoSo now we need an llmpack like we did webpack? Could it be smart enough to truncate comments, white space, etc?
- brucethemoose2 3y agoYou dont even need an llm for trimming whitespace, just a smart parser with language rules like ide code checkers already use. Existing llms are fine at summarizing comments, especially with language specific grammar constraints.
- gabereiser 3y agoMy point. We don’t need the middleware.