Live data from Hacker News

Show HN: GPT-3 Powered Shell

musings.yasyf.com

61–70 of 114 posts

Re: Show HN: GPT-3 Powered Shell

#61
post #60
post #53

Earlier quoted context omitted.

It seems it's not using ChatGPT but rather the "standard" GPT-3 models, which do have an API. I didn't look at the code, but they explicitly mention the need for an OpenAI API key.

if you pass `--model=chatgpt` there's experimental support for ChatGPT, but it's suuuper flaky

Oh right, sorry!

I've been using similar workarounds to use ChatGPT programmatically and it's just not worth it. In my experience you just get blocked after a couple of requests. I'm really hoping they release an API soon.

Re: Show HN: GPT-3 Powered Shell

#62

Earlier quoted context omitted.

I don't think you're an outlier, but you will become one if you don't adapt to the inevitable. Like it or not, gpt3 has signalled a massive change in toolset power and this is just the start. Times have changed, we move with them or we will be left behind.

As soon as opt out is implemented training data will stop to grow and we're back to skills mattering

Prediction: China will simply ignore this law, and will become the greatest AI power.

Re: Show HN: GPT-3 Powered Shell

#63
post #57
post #26

That's a really neat idea! I built askai ( https://github.com/maxvfischer/askai ) during the last week to scratch a similar itch of mine. I wanted to be able to quickly get CLI commands that I didn't have on top of mind, by being able to ask questions like "How do you remove a conda environment?" or "How do you get the MX record of a domain using the terminal?". The CLI I built is a direct integration with GPT3, so i…

Here's the one I built: Get an OpenAI API key. Then `npm i -g askleo` and set env var OPENAI_API_KEY `> askleo how large is the average dog` `> runleo list files in reverse date order` Note that runleo just executes it without confirmation.

"runleo just executes it without confirmation"

I'm feeling lucky!

This is one step beyond `curl | sh`. Bold move.

Re: Show HN: GPT-3 Powered Shell

#64
post #8

Half of the fun of using cli is using it with your own knowledge imo. Using GPT3 makes it feel like I may as well use some GUI tool. I understand gpt3 will/does save time and money but I actually like to code and to use my skills and knowledge to build and solve thingswith my own hands. Maybe I'm an outlier here, but using some tool to do it for me doesn't sound like fun.

The killer app for LLMs will finally be able to write ffmpeg invocations

I have seen people building small drag and drop interfaces to convert media with python, tk, and ffmpeg from prompts with a couple of sentences.

Re: Show HN: GPT-3 Powered Shell

#66
post #15

Pretty cool! Does anyone know how open-source alternatives like GPT-J compare to ChatGPT? I've heard that it's comparable to GPT-3, but nothing close to GPT-3.5. I'd much prefer using a tool that I know won't eventually be put behind a paywall.

GPT-J feels much worse than GPT Davinci on the lack of instruct capability. My understanding is that it was not trained on instruction-completion data as much. It's great for text classification, summarization, and other tasks. However, I also feel like it hallucinates/gives wrong outputs more. TBH i love what Eleuther is doing and GPT-J has its merits, but it feels not ready for primetime. I'd think of it as most si…

There's also CodeGen[0], but you'll likely get poorer results then any OpenAI product.

0 - https://github.com/salesforce/CodeGen

Re: Show HN: GPT-3 Powered Shell

#67

Earlier quoted context omitted.

I don't think you're an outlier, but you will become one if you don't adapt to the inevitable. Like it or not, gpt3 has signalled a massive change in toolset power and this is just the start. Times have changed, we move with them or we will be left behind.

As soon as opt out is implemented training data will stop to grow and we're back to skills mattering

I know plenty of talented FOSS developers who won’t choose to opt out.

Re: Show HN: GPT-3 Powered Shell

#68
Not so convincing if even the most basic example does not work completely. The Git example video/gif fails to push because it creates a repository with branch main and wants to push master.

Seeing all those "Shell AI Helper" examples there seem to be a surprising demand for finding and/or killing processes. And the result is usually killing (instead of terminating) whatever of some wonky ps/grep pipe finds instead of just using pgrep...

Re: Show HN: GPT-3 Powered Shell

#69
"The new Power had no weapons on the ground, nothing but a comm laser. That could not even melt steel at the frigate’s range. No matter, the laser was aimed, tuned civilly on the retreating warship’s receiver. No acknowledgment. The humans knew what communication would bring. The laser light flickered here and there across the hull, lighting smoothness and inactive sensors, sliding across the ship’s ultradrive spines. Searching, probing. The Power had never bothered to sabotage the external hull, but that was no problem. Even this crude machine had thousands of robot sensors scattered across its surface, reporting status and danger, driving utility programs. Most were shut down now, the ship fleeing nearly blind. They thought by not looking that they could be safe.

"One more second and the frigate would attain interstellar safety.

"The laser flickered on a failure sensor, a sensor that reported critical changes in one of the ultradrive spines. Its interrupts could not be ignored if the star jump were to succeed. Interrupt honored. Interrupt handler running, looking out, receiving more light from the laser far below…a backdoor into the ship’s code, installed when the newborn had subverted the humans’ groundside equipment…

"…and the Power was aboard, with milliseconds to spare. Its agents—not even human equivalent on this primitive hardware—raced through the ship’s automation, shutting down, aborting. There would be no jump. Cameras in the ship’s bridge showed widening of eyes, the beginning of a scream. The humans knew, to the extent that horror can live in a fraction of a second."

http://akkartik.name/post/straumli

Re: Show HN: GPT-3 Powered Shell

#70
Good stuff. But I still probably wouldn't use it. Because my cli usage can be roughly divided into two categories:

1. Commands I use often (daily). These I usually know and they are much faster to type than to explain what I want to do.

2. Commands I need to google/man to do something specific I don't usually do. And these I usually want at least understand before running them. For example some git manipulations.

So AI tool can be helpful for (2) but most probably I will still go to google to read more about what does the command do.

Post reply on HN