Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

GitHub - brynzai/aish: AI Shell

Aug 04, 2023 - github.com
AISH is an AI shell that translates user commands into intermediate scripting languages and executes them. It comes with a risk of the AI running or deleting unexpected files, so it should be used with caution. The AI temperature can be overridden using the `AISH_TEMP` environment variable. The shell supports different modes, including shellbard, shellgpt, chatbard, and chatgpt, with shellbard being the default. It also supports scripts, allowing users to write scripts in human language.

The shell requires certain environment variables to be set for different modes. For OpenAI GPT mode, `OPENAI_ORG` and `OPENAI_API_KEY` need to be set. For Google Bard mode, a Google Cloud account and project with the Vertex API enabled are required, and `CLOUDSDK_CORE_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS` need to be set. The shell also supports temporary scripts, which are currently written to `~/.aish/`.

Key takeaways:

  • AISH is an AI shell that translates user commands into intermediate scripting languages and executes them. It comes with a warning about the risk of AI running or deleting something unexpected.
  • The shell supports different modes, including shellbard, shellgpt, chatbard, and chatgpt. The default mode is shellbard.
  • For using OpenAI GPT mode, environment variables like `OPENAI_ORG` and `OPENAI_API_KEY` need to be set. For Google Bard mode, a Google Cloud account and project with the Vertex API enabled is required.
  • AISH supports scripts, allowing users to write scripts in human language. The scripts can be run with parameters, simplifying the process.
View Full Article

Comments (0)

Be the first to comment!