BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.04k stars 257 forks source link

Improvements regarding the prompt and adding more details about the operation system #49

Closed hdkiller closed 1 year ago

hdkiller commented 1 year ago

Hello,

Thank you for this great tool. I use it daily!

I've made a few changes to the prompts to be more specific. Instead of asking, we should instruct the model. My changes reflect that.

In addition, I've added more details about the current operating system, such as the distribution. This means that prompts like "install vim" will use the package manager specific to that system.

I also fixed a bug with the shell text, and the prompts now include the name of the current shell.

steve8708 commented 1 year ago

Great contribution, thank you @hdkiller!