News for hackers. Stuff that matters.
Re:Ask HN: How are you using LLMs in your command-line? by coding123 on Tuesday August 29, 2023 @05:32PM (#37314439)
I'm not but I am curious if you have some ideas?
Re:Ask HN: How are you using LLMs in your command-line? by shaburn on Tuesday August 29, 2023 @09:34PM (#37316568)
I'm building a local tool to read my system, files, and Git in sequence with ChatGPT API(and Gorilla and other LLMs soon)to avoid cut and paste threads by providing file data and specific situational(system) awareness.
Re:Ask HN: How are you using LLMs in your command-line? by eigenhombre on Tuesday August 29, 2023 @07:07PM (#37315376)
ShellGPT https://github.com/TheR1D/shell_gpt does pretty well for a lot of use cases. I mostly use it in REPL mode, switching topics as needed. I have wrappers around the `sgpt` command to, say, start a REPL with a particular topic, say, Python, which loads my previous history on that topic as part of the prompt.

I also have an alias to save existing chats as text files so I can go back and review history.

Finally, there is an alias to load a question up in an editor if I need to enter multiline text, e.g. to discuss code fragments, etc.

I expect command-line workflows to be pretty individualized and I'm curious what others do. For me (old programmer), using a command line REPL feels much more natural (and blissfully noise-free) than going to a Web page to talk to, say, ChatGPT.

Re:Ask HN: How are you using LLMs in your command-line? by throwaway798214 on Wednesday August 30, 2023 @05:45AM (#37319560)
Nope, not using, I'm not even using command history or bash completion. The only way to actually learn what you are doing is by doing it yourself - but that's just me, I don't judge others for doing differently.
Re:Ask HN: How are you using LLMs in your command-line? by shaburn on Wednesday August 30, 2023 @06:43PM (#37330118)
Why do you want to learn everything you do?