1

AI-based CLI interactive mode - Microsoft Community Hub

 1 year ago
source link: https://techcommunity.microsoft.com/t5/azure-tools-blog/ai-based-cli-interactive-mode/ba-p/3859539
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

We are excited to announce that the Azure CLI team combined AI with CLI interactive mode (az interactive) to provide users with an intelligent interactive experience. It is primarily oriented to inexperienced users in interactive mode to help reduce the learning curve, provide an intelligent interactive experience, and improve operation efficiency in complex scenarios.

Introduction

Currently, our product provides four 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 high-priority completion options.

• Command recommendation

When you don't know what to do next, it supports recommending subsequent commands most used in other similar sessions.

thumbnail image 1 of blog post titled                                              AI-based CLI interactive mode

• Scenario identification

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

thumbnail image 2 of blog post titled                                              AI-based CLI interactive mode

• Usage knowledge search

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

thumbnail image 3 of blog post titled                                              AI-based CLI interactive mode

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

If you want 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 a CLI extension, you only need to install the latest version of the "interactive" extension to try out these 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 disable them.

$ az config set interactive.enable_recommender=False

For more specific usage, see the "az interactive" guidelines.

If you encounter issues while using the CLI intelligent mode or have suggestions on how we can improve it, please create an issue on GitHub.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK