正在加载视频...

视频加载失败

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,253 次观看 • 2 年前 •via X (Twitter)

10 条评论

Connor Shorten 的头像
Connor Shorten2 年前

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

Rick Lamers 的头像
Rick Lamers2 年前

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.

Liran Tal 的头像
Liran Tal2 年前

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

Rick Lamers 的头像
Rick Lamers2 年前

Haha yeah that would have been very dangerous

Shroominic 的头像
Shroominic2 年前

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

NATARAJAN MUTHU | LONDON 的头像
NATARAJAN MUTHU | LONDON2 年前

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

Rick Lamers 的头像
Rick Lamers2 年前

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

Albert Renshaw • e/acc 的头像
Albert Renshaw • e/acc2 年前

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

Tony Lewis 的头像
Tony Lewis2 年前

Possibly dangerous? Typo leads to accidental deletions?

Rick Lamers 的头像
Rick Lamers2 年前

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 :)

相关视频