by petercooper on 6/29/2023, 7:39:32 PM
by iandanforth on 6/29/2023, 7:36:52 PM
I use an alternative that just directly calls OpenAI using my API key. I have it mapped to the command `ai` and it works really really well. So far I've found no need for any intermediary or fancy features. It just shows the command with a (y/[N]) prompt and I can choose to run it or not.
I use the first tagged version of `aicmd` before it was given an unneeded intermediary: https://github.com/atinylittleshell/aicmd/tree/v1.0.2
by satokema on 6/30/2023, 2:41:44 AM
Would really like it if ML projects would declare upfront if you're using cloud models or local ones. A lot of work policies bar us from using externally generated code or inputting business data into external systems.
(as it happens, this one hits the cloud)
by ok123456 on 6/29/2023, 6:42:20 PM
It's not a local model. It queries some endpoint on someone else's computer.
by rombr on 6/29/2023, 7:08:20 PM
Loving it! Works nicely for k8s:
(base) ~ g get the image ids of all pods running in all namespaces in kubernetes
kubectl get pods --all-namespaces -o jsonpath="{..imageID}"
sha256:b19406328e70dd2f6a36d6dbe4e867b0684ced2fdeb2f02ecb54ead39ec0bac0
sha256:b19406328e70dd2f6a36d6dbe4e867b0684ced2fdeb2f02ecb54ead39ec0bac0
by cosmojg on 6/29/2023, 9:21:17 PM
I recommend shell-gpt[1] for anyone with access to the OpenAI API. It works surprisingly well considering how simple it is. Be sure to browse the examples in the README.
by none2022 on 6/29/2023, 7:15:12 PM
newbie question.
Not to make this a debug thread but this is what I get when I try out gorilla
> gorilla I want to find my ip address
/home/username/.local/lib/python3.10/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.7) or chardet (5.1.0)/charset_normalizer (2.0.7) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported " Traceback (most recent call last): File "/home/username/.local/bin/gorilla", line 8, in <module> sys.exit(main()) File "/home/username/.local/lib/python3.10/site-packages/go_cli.py", line 128, in main user_id = get_user_id() File "/home/username/.local/lib/python3.10/site-packages/go_cli.py", line 76, in get_user_id assert user_id != "" AssertionError
by bugglebeetle on 6/29/2023, 7:22:33 PM
Is this actually developed by UC Berkeley or just a project by one of their PhD students?
by SimFG on 6/30/2023, 2:30:46 AM
Maybe [GPTCache](https://github.com/zilliztech/GPTCache) can make it more attractive, because similar problems can be less expensive, and can also be responded to faster. Of course, the specific configuration needs to be based on real usage scenarios.
by shishirpatil on 6/29/2023, 6:09:39 PM
Hey HN! As one of the contributors and author of Gorilla, we want to express gratitude for your valuable feedback. The community's desire for a straightforward method to invoke Gorilla led to the development of this CLI tool. We appreciate your continued input, so please keep those suggestions coming!
by scrps on 6/29/2023, 8:29:18 PM
Waiting for the LLM version of ye olden IRC hazing/trolling of: "oh you can fix that with rm -rf /"
Edit: Typo
by RamblingCTO on 6/29/2023, 9:17:26 PM
We've gone full circle: efficient meta languages back to inefficient and ambivalent natural language.
by VectorLock on 6/30/2023, 1:02:17 AM
Is it weird I'm kind of more interested in this included "go_questionary" library?
by tianjunz on 6/29/2023, 6:13:26 PM
Hi HN, I'm one of the authors from Gorilla Project. Gorilla now presents in an CLI interface and you can interact with your laptop in English! Feedbacks and suggestions are very welcome!!
by MeteorMarc on 6/29/2023, 6:52:03 PM
It runs in the terminal, so you can also CTRL-r it!
by yewenjie on 6/29/2023, 6:31:11 PM
How does this compare with github-copilot-cli?
by linuxdude314 on 6/29/2023, 9:33:19 PM
It’s very sketchy that they use stderr and queries for training.
Don’t pass anything sensitive into this program!
by Accujack on 6/30/2023, 1:28:08 AM
Giving anyone who can type full system admin abilities without any need for training?
What could go wrong?
by dievskiy on 6/29/2023, 9:54:29 PM
I would encourage authors to update README with more representative examples.
by ofermend on 6/29/2023, 9:30:49 PM
very cool. But like many other uses of LLM it can hallucinate and/or produce a wrong result. For example I tried:
"gorilla dry run of brew upgrade"
And got a response that didn't work.
by kleiba on 6/29/2023, 9:11:56 PM
Geez, I don't understand most of the words in that headline...
by behnamoh on 6/29/2023, 7:51:07 PM
Doesn't this violate the Gorilla glue's trademark?
by kunalgupta on 6/29/2023, 6:17:48 PM
goodbye Fig!
Can't speak for this tool yet, but ChatGPT has been great for this use case. Sometimes a tool doesn't have a man page, has hard to navigate docs, or whatever, "What does $flag mean in $tool" tends to work (when it doesn't hallucinate something totally wrong).
One recent example: "what does -w do on curl" .. not a single top 10 result on Google mentions it in the context, but GPT3.5 nails it in two seconds complete with a working example. I know "-w" is interpreted by Google in a special way, but frankly given the obvious context I shouldn't need to know how Google works. (Through experience I also know https://explainshell.com/explain?cmd=curl+-w will do a good job, but ChatGPT actually provides a working example which is even better.)
That said, I do think you need a good critical eye to use LLMs in this context. It's like relying on a calculator. You still need mental math skills to know that 91 * 10 can't equal 2511. Similarly, when GPT starts hallucinating, it helps if you have a high sensitivity to smelling it out.