Hacker News new | ask | show | jobs
by xbmcuser 15 days ago
This is the reason I think LLM are not being used to their full potential. A lot of busy office work can be automated if people knew they could get llm to make them scripts to do it. Where as currently a lot of people keep asking the llm to do things instead of asking the llm to build tools to do stuff.
3 comments

I think it's interesting because LLMs (at least if used in the terminal) quickly create their own scripts to do a certain task.

The issue is then, that those scripts are probably discarded after one use by the user, partly because the LLM doesn't make them generalized enough and focuses on solving the one task at that time. Partly because, when the issue next arises, it seems cheap to the user to just have the LLM do it again.

I think these models could be trained/fine tuned in a way to anticipate future issues or create general enough solutions but it would imply lowering their own use... so there might not be an incentive for that.

It's also because the LLM training loop is too short-lived to give them feedback on how well repurposed their code can be. I imagine the labs are working on this to make it better, but it's fundamentally a much more expensive environment than training on few-script rollouts.
> I think it's interesting because LLMs (at least if used in the terminal) quickly create their own scripts to do a certain task.

Let me just write a small Python script to decompile a section of this DLL so I can verify the constants for this function matches what the reference said.

With the images, I'll write a small Python script to compute the motion error using the Lucas-Kanade method[1].

Almost literally what Claude (Opus) casually has written as it chipped away at a couple of my problems.

[1]: https://en.wikipedia.org/wiki/Lucas%E2%80%93Kanade_method

Can it though? I automated one aspect of my day job and promptly ran into upload limits.

When I found and configured a local LLM to handle files, it took 6 min. 45 seconds to process two files --- I need to handle almost 5,000 in Q4.

I don't get it. Were you uploading files to a server to process them? Couldn't you run a local process to do it (which is, I assume, how the LLM got around the upload issues)?
When uploading to a server (Microsoft's via Copilot) I ran into upload limits, ~80--100 files per day last I was able to try.

When running locally, it took the LLM 405 seconds to process two files.

To answer the question, we need to know something, anything about the tasks you automated.

If the task is filling in tax forms from a spreadsheet then yeah, you can ask an LLM to write a script for that.

If the task is proving thousands of math theorems or the task is translating specs into working software, then yeah, I guess you do need an LLM.

The task is to rename scanned files of a check overlaid on one or more invoices using the amount of the check and its date and a couple of the numbers from one fo the invoices using the prompt:

For each file which was uploaded create a move command in a .bat batch file which will rename the matching file using the current filename of the uploaded file and use the amount, and date of the check, the Invoice ID, PWS ID, and COMPANYNAME in all UPPERCASE run together with no spaces from the PWS population line using a filename like to:

    $<check amount>_<Account ID>_<date of check as YYYY-MM-DD>_<Invoice ID>_<PWS ID>_<COMPANYNAME>.pdf
Do not explain how this is to be done, open each file, examine it, and create the appropriate command, returning the contents of a .bat file with each command on a separate line which may be run on the files in that directory to rename the files from the name as uploaded to the generated filename with the command on its own line.
In most cases you should have the LLM write a program to process the files instead of feeding them to the LLM itself.
And a program which parses handwritten checks and invoices which range from clean/crisp printouts through multiple-generation photocopies/faxes, or even a photograph of a folded printout would be?
I agree. It also makes things deterministic and testable again. I don't think I would let LLM do anything important directly. You never know what it will do tomorrow.