Загрузка видео...
Не удалось загрузить видео
Never write a single shell command ever again! Today I'm releasing Shell AI ✨, an open source CLI you can `pip install shell-ai` right now to run things like `shai git diff but without the json blobs` MIT licensed. Install, fork, PR & have fun!
197,204 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

Hey Rick! You might be interested in the Gorilla stuff as well - Super exciting ideas here! 😎

Gorilla CLI directly inspired this! But what I didn’t like is that it was sending the input to some weird IP endpoint. With LangChain at least you control to which model you send your prompt.

Very cool and am really thankful you went the route of showing suggestions rather than blindly running commands 😅

Haha yeah that would have been very dangerous

Saw something similar before but yours looks way better - installed - thanks!

Magic here “ """You are an expert at using shell commands. Only provide a single executable line of shell code as output. Never output any text before or after the shell code, as the output will be directly executed in a shell. You're allowed to chain commands like `ls | grep .tx

Question for you! How can the system prompt be changed to improve the quality of the suggested shell commands?

*Me, wanting to modify an open source project called “bomb” “shai fork bomb”

Possibly dangerous? Typo leads to accidental deletions?

Using the terminal is inherently a bit risky, `rm -rf /somefile` vs `rm -rf / somefile`. It will never execute a shell command automatically. But yes, diligently operate :)
