Loading...

AI based CLI interactive mode

AI based CLI interactive mode

We are very excited to announce that Azure CLI team combined AI with CLI interactive mode (az interactive) to provide users with an intelligent interactive experience.

It is mainly oriented to the inexperienced users in interactive mode to help them reduce the learning cost, provide an intelligent interactive experience, and improve the operation efficiency in some complex scenarios.

Quick Introduction

Currently, our product mainly provides customers with 4 revolutionary features:

• Intelligent Completion

It combines the AI powered recommendation system based on Telemetry analysis to analyze and predict customer behavior, prioritizing the most needed contents as the high priority completion options.

• Command Recommendation

When you don't know what to do next, it supports recommending the next command which is most used in other similar sessions.

Jeremy_Li_3-1688024636994.png

 

• Scenario identification

When you work on an E2E scenario, it can identify the current possible scenarios and recommend a set of related command combinations for this specific E2E scenario. (And it has a parameter completion mechanism, which can reduce repeated input of the same parameter values in the same scenario.)

Jeremy_Li_4-1688024637001.png

 

• Usage knowledge search

You can use the natural language keywords to search for the commands and usage scenarios you need, and smoothly create and execute corresponding CLI tasks.

Jeremy_Li_5-1688024637007.png

 

Moreover, we are investing in using ChatGPT's ability to generate complex and more accurate CLI tasks by multiple sessions, which will be announced in the future versions. Please stay tuned! :smiling_face_with_smiling_eyes:

If you want to have a more intuitive understanding of our features, you can watch the demo video: video link

How to use

 

Since "az interactive" is the interactive mode of CLI, which is installed as CLI extension, you only need to install the latest version of the "interactive" extension to try out these interesting new features

 

$ az extension add --name interactive --upgrade

 

All the AI related features are enabled by default. If they disturb you, you can use the following command to turn them off

 

$ az config set interactive.enable_recommender=False

 

For more specific usage, please refer to the guide line of "az interactive".

If you encounter any issues while using the CLI Intelligent Mode or have suggestions on how we can make it even better, please do not hesitate to create an issue on GitHub.

Published on:

Learn more
Azure Tools Blog articles
Azure Tools Blog articles

Azure Tools Blog articles

Share post:

Related posts

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy