AI Assistant Translates Your Every Request For The Command Line

If you donât live on the command line, it can be easy to forget the exact syntax of commands. It often leaves you running to the â/?â or ââhelpâ switches, or else a quick Google search to find the proper incantations. Shell-AI is a machine-learning assistant that could change all that by helping you find the proper command for the job, right on the command line!
Shell-AI accepts natural-language inputs â simply type in âshaiâ followed by what youâre trying to do. It will then take in your request, run it through an OpenAI language model like GPT-3.5-Turbo, and then present you with three (or more) potential commands. You can then select which command to use and get on with your day.
As demonstrated, itâs more than capable of following commands like âdownload a random imageâ or âshow only image files ls.â And, hilariously, it responds to the request âdo something crazyâ with just one suggestion: ârm -rfâ. That seems rather fitting.
We wouldnât blindly follow any commands coming out of a large language model, of course. But, if you know what youâre doing, it could prove a useful little tool to ease your regular duties on the command line.
from Blog â Hackaday https://ift.tt/7YuZcTS
Comments
Post a Comment