Author Topic: Microsoft brings ChatGPT AI to Windows 11ís command line, hereís a closer look  (Read 384 times)

Offline javajolt

  • Administrator
  • Hero Member
  • *****
  • Posts: 35044
  • Gender: Male
  • I Do Windows
    • windows10newsinfo.com


Windows Terminal is getting an optional feature Ė ChatGPT-powered ďAI chatĒ on Windows 11. ChatGPT integration is now available in Terminal (Canary), a new development channel to test experimental features ahead of a wider rollout. With ChatGPT AI Chat in Terminal, you can use AI to generate commands, explain errors, and get recommendations.

Microsoft wants Terminal to use the natural language AI to explain commands, such as ďDISMĒ, or errors you might get when running commands. Similarly, it can suggest actions, like an alternate command when the original one doesnít work.

As first spotted by us, according to Github commits, Microsoft added AI integration to Terminalís Canary channel last week, and it works as advertised during the Build 2023 developer conference. However, thereís a catch Ė this feature *currently* does not ship with its large-language model.



This means Microsoft wants you to get Azure OpenAI service, which isnít available to everyone, to use Terminal AI Chat.

In other words, most of you wonít be able to use the AI integration in Windows Terminal unless you can access Azure-based OpenAIís invite-only API service. This could change in the future, but for now, youíll need to spend money on the API keys.

A closer look at AI in the command line

To use Terminal Chat, you will first need to download the app from GitHub and install it on Windows 11. Once done, you will need to enter your Azure AI service endpoint key in the Terminal Chat settings and then store and save these details.



This setup links Terminal Chat with the designated AI service (ChatGPT-3.5 or your preferred model), unlocking its full potential within the command line environment.

The beauty of Terminal Chat lies in its responsiveness and adaptability. When you select a suggestion provided by the AI, it is copied directly to the input line of the terminal. This design choice gives you the opportunity to review commands before execution.

Similarly, Terminal Chat recognizes the active shell being used and sends this context to the AI service. This tailored approach means that the AIís responses are specifically adapted to the shell environment, whether itís the Command Prompt or PowerShell, ensuring relevant and accurate assistance.

source