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.