Or sgpt “grep for all files containing the string XYZ either in all caps or mixed case, followed by two digits”. Endlessly promising - may eventually lead to the deprecation of man pages.
I think everything that came after man pages lead to the deprecation of man pages. info, Usenet, forums, Google, Stack Overflow..anything but man pages.
It seems like we need a constant stream of ChatGPT posts. I guess hopefully all the fans will be right and it will replace all knowledge so none of us will even need or be able to afford a computer to be able to use it. :)
Sorry to disappoint, I too am frustrated about ChatGPT/GPT-3/LLM mainstream gossip deluge, but that doesn’t mean I disagree with augmenting my productivity with the latest tools.
I think the next step is to make a platform to create domain specific prompts. For example if you need to use aws cli frequently, write a prompt that has the api types embedded and outputs aws cli filtered through jq. I'm on something like this, hopefully it will benefit this space.
I was experimenting with the Warp terminal for the first time last week. It includes a similar feature. I was pretty impressed with how well it worked.
I want to test how well it generates config files for well-documented software packages like i3wm. Give it some natural language instructions for hot keys and default window behavior and let it go wild. Maybe generate some theming for polybar/rofi & resources based off what I actually want the output to look like.
I just signed up for ChatGPT Plus at $20/month. They have a new "Turbo" model which seems very similar to the normal one. They also said that a ChatGPT API is coming.
I use the OpenAI text-davinci-003 for the service I am building which is somewhat like ChatGPT.
Yes, but GPT3 is a paid for product already with no free access (I think they give you some credits when signing up but that's it). This project does not use ChatGPT. ChatGPT is what has free access at the moment.
Hm, are there similar projects that simply works as a shell filter? Prompt on std in / answer on stdout ?
Would make for a perfect vim companion - select text, hit "!gpt3" - get answer in buffer?
I'm not very keen on running some random shell commands directly - but having them pop into my editor (safe and recommended wrapper for strict shell script - or - sample python cli utility etc).
Ed: As a bonus it would also compose easily - making adding an interface like https://github.com/jayhack/llm.sh on top would be trivial...
Wow this is really cool. There is a trick with ChatGPT where you can get it to simulate a linux terminal[0]. I'm not sure if that would work with GPT3 but probably?
Seems like you could either use this directly or extend the idea to having your real terminal as well as your simulated terminal (keeping in mind with the ChatGPT version you can ask it to add functionality like docker, nix, Kubernetes, python, go, etc) and then pipe things between them.
Even without taking it wherever that goes this still seems pretty handy.
Edit: Thinking more about this, a cool ui would be either "containers", "VMs", or some other fake abstraction you could spin up and ssh / rsync into. Imagining simulated VMs. Would be pretty useful to be able to shell out to that at will to play around with. Perhaps with the ability to prompt OS and installed programs.
My favorite demo with ChatGPT is not to ask it to emulate a terminal, but tell it is connected to an Ubuntu 20.04 system by SSH and then ask it to do thing like setup a web server with a blog, secure the server, etc.
39 comments
[ 5.9 ms ] story [ 70.4 ms ] threadThe official Arch Linux wiki url is https://wiki.archlinux.org/
Which is where, among other things, GPT gets its training data from.
Sorry to disappoint, I too am frustrated about ChatGPT/GPT-3/LLM mainstream gossip deluge, but that doesn’t mean I disagree with augmenting my productivity with the latest tools.
Love it (great project and one step to future), but would not do any of it on my or clients machines/servers.
*From the example, how do you know one of those ffmpeg switches will not wipe your disc ?
https://github.com/s0md3v/Diggy/issues/11 ..... ... .
As another point to discussion, hope GPT-3 will not hallucinate obfuscated rm -rf into output.
Still love this and the tools in other comments
https://github.com/trentearl/aicli. https://earlearlearl.com/posts/aibash-openai-command-line
I think the next step is to make a platform to create domain specific prompts. For example if you need to use aws cli frequently, write a prompt that has the api types embedded and outputs aws cli filtered through jq. I'm on something like this, hopefully it will benefit this space.
https://github.com/jayhack/llm.sh
[0] https://docs.warp.dev/features/entry/ai-command-search#
I want to test how well it generates config files for well-documented software packages like i3wm. Give it some natural language instructions for hot keys and default window behavior and let it go wild. Maybe generate some theming for polybar/rofi & resources based off what I actually want the output to look like.
I use the OpenAI text-davinci-003 for the service I am building which is somewhat like ChatGPT.
Would make for a perfect vim companion - select text, hit "!gpt3" - get answer in buffer?
I'm not very keen on running some random shell commands directly - but having them pop into my editor (safe and recommended wrapper for strict shell script - or - sample python cli utility etc).
Ed: As a bonus it would also compose easily - making adding an interface like https://github.com/jayhack/llm.sh on top would be trivial...
Ed2: i see there's https://github.com/jackMort/ChatGPT.nvim and https://github.com/gakonst/rubberduck-gpt3.vim - both of which would be better if they also/just worked as filters.
Fixed link:
https://github.com/runvnc/askleo
glad i retired haha elon can hire teenagers now
first request got this, why?
Seems like you could either use this directly or extend the idea to having your real terminal as well as your simulated terminal (keeping in mind with the ChatGPT version you can ask it to add functionality like docker, nix, Kubernetes, python, go, etc) and then pipe things between them.
Even without taking it wherever that goes this still seems pretty handy.
Edit: Thinking more about this, a cool ui would be either "containers", "VMs", or some other fake abstraction you could spin up and ssh / rsync into. Imagining simulated VMs. Would be pretty useful to be able to shell out to that at will to play around with. Perhaps with the ability to prompt OS and installed programs.
[0] https://www.engraved.blog/building-a-virtual-machine-inside/
Like this https://twitter.com/arjie/status/1575201117595926530?s=46&t=...
This is a cool trick that is far from a best practice.