Windows Terminal will get an optional feature, "AI Chat" powered by ChatGPT on Windows 11. ChatGPT integration is now available in Canary, a new development channel for testing experimental features before wider rollout. With the ChatGPTAI chat feature in the terminal, users can use AI to generate commands, explain errors and get recommendations.
Microsoft wants Terminal to use natural language AI to explain commands like "DISM" or errors that may occur when running a command. Likewise, it can suggest actions, such as suggesting another command if the original one doesn't work.
According to the commit on Github: https://github.com/microsoft/terminal/commit/32cfa5a98e69234739f8280fb0f14b38fa60a1f8 Microsoft added artificial intelligence integration to the terminal’s Canary channel last week and it ran as scheduled at the Build2023 developer conference. There's a catch, though - this feature isn't currently shipping with large language models.
This means that Microsoft wants you to get the Azure OpenAI service to use terminal AIChat, which is not available to everyone.
In other words, most people won't be able to use the AI integration in Windows Terminal unless you have access to Azure-based OpenAI's invitation-only API service. This may change in the future, but for now, you'll need to pay for an API key.
To use Terminal Chat, you first need to download the app from GitHub and install it on Windows 11:
https://github.com/microsoft/terminal/releases
Once completed, you need to enter the AzureAI service endpoint and key in the terminal chat settings, then store and save these details.
This setup connects terminal chat with a designated AI service (ChatGPT-3.5 or your preferred model), unlocking its full potential in a command line environment.
The charm of terminal chat lies in its better response speed and adaptability. When you select a suggestion provided by the AI, it is copied directly to the terminal's input line. This design gives you the opportunity to review commands before executing them.
Likewise, terminal chat recognizes the shell being used and sends this context to the AI service. This tailored approach means the AI's responses are specifically adapted to the shell environment, whether that's Command Prompt or PowerShell, ensuring relevant and accurate help is provided.