%3CLINGO-SUB%20id%3D%22lingo-sub-2118582%22%20slang%3D%22en-US%22%3Eaz%20next%3A%20AI-powered%20interactive%20assistant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118582%22%20slang%3D%22en-US%22%3E%3CP%3ERecently%2C%20we%E2%80%99d%20been%20receiving%20more%20feedback%20and%20requests%20around%20%3CEM%3Ebetter%20in%20tool%20help%2Fguidance%20%3C%2FEM%3Efrom%20some%20of%20you%3CEM%3E.%20%3C%2FEM%3EAcross%20the%20wide%20variety%20of%20feedback%2C%20the%20scenario%20of%20%3CEM%3Enot%20knowing%20what%20I%20could%20be%20running%20next%20to%20accomplish%20my%20task%20%3C%2FEM%3Estood%20out%20to%20us%20%E2%80%93%20in%20fact%2C%20this%20is%20also%20the%20area%20where%20we%20received%20concern%20around%20the%20incompleteness%20and%20inaccuracy%20on%20%3CEM%3Eaz%26nbsp%3Bhelp%3C%2FEM%3E%20and%20%3CEM%3Eaz%26nbsp%3Bfind%3C%2FEM%3E.%20Since%20then%2C%20our%20team%20collaborated%20with%20the%20data%20science%20team%20to%20develop%20a%20new%20command%20call%20%3CEM%3Eaz%26nbsp%3Bnext%2C%20%3C%2FEM%3Ea%20feature%20that%20would%20provide%20contextual%20command%20recommendations%20for%20potential%20next%20steps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22aznext_gif-min.gif%22%20style%3D%22width%3A%20853px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253508i9C4C76C449687FE9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22aznext_gif-min.gif%22%20alt%3D%22aznext_gif-min.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CFONT%20size%3D%222%22%3EGif%201%3A%20az%20next%20guidance%20in%20creating%20a%20webapp%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20feature%2C%20which%20adopts%20our%20latest%20design%20guidelines%2C%20should%20help%20making%20the%20Azure%20CLI%20more%20approachable%20for%20all%20users%2C%20including%20beginners%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1269958897%22%20id%3D%22toc-hId-1269958954%22%20id%3D%22toc-hId-1269958954%22%3E%3CFONT%20size%3D%225%22%3EHow%20%3CEM%3Eaz%20next%3C%2FEM%3E%20can%20help%20you%3A%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EOur%20goal%20with%20%3CEM%3Eaz%20next%20%3C%2FEM%3Eis%20to%20guide%20users%20through%20their%20scenarios%20or%20sequence%20of%20jobs-to-be-done%20%3CSTRONG%3Ein%20tool%3C%2FSTRONG%3E%2C%20so%20that%20they%20could%20remain%20focused%20and%20steer%20clear%20of%20unnecessary%20external%20documentation%20searches.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%202%20scenarios%20%3CEM%3Eaz%20next%20%3C%2FEM%3Ecurrently%20supports.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20is%20the%20simple%20walkthrough%20as%20shown%20above%20where%20upon%20the%20execution%20of%20%3CEM%3Eaz%26nbsp%3Bnext%3C%2FEM%3E%2C%20the%20user%20is%20presented%20with%20a%20set%20of%20command%20options.%20This%20mode%20aims%20to%20optimizes%20the%20success%20of%20your%20subsequent%20commands%20via%20predictive%20recommendations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20second%20mode%20is%20the%20%3CEM%3Eend-to-end%3C%2FEM%3E%20scenario%20walkthrough%20with%20the%20aim%20to%20help%20you%20achieve%20a%20specific%20scenario%20in%20mind.%20The%20options%20are%20presented%20in%20the%20form%20of%20summary%20instead%20of%20individual%20explicit%20commands.%20Upon%20option%20selection%2C%20the%20tool%20will%20then%20guide%20you%20through%20individual's%20command%20completion%20one%20by%20one%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22az%20next%20_core.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253679i0CD167C1C20D6DB7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22az%20next%20_core.png%22%20alt%3D%22az%20next%20_core.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CFONT%20size%3D%222%22%3EFigure%201%3A%26nbsp%3B%20List%20of%20relevant%20end-to-end%20scenario%20for%20az%20next%20after%20webapp%20create%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CFONT%20size%3D%222%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22az%20next%20_core2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253680i14E655CB263161CD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22az%20next%20_core2.png%22%20alt%3D%22az%20next%20_core2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CFONT%20size%3D%222%22%3EFigure%202%3A%20Scenario%20summary%20and%20command%20walkthrough%20upon%20option%204%20selection%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22az%20next%20_2.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253681i583FB3A71E08FF0F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22az%20next%20_2.png%22%20alt%3D%22az%20next%20_2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-center%22%3E%3CFONT%20size%3D%222%22%3EFigure%203%3A%20Continuation%20of%20scenario%20walkthrough%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EGive%20them%20a%20try!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--537495566%22%20id%3D%22toc-hId--537495509%22%20id%3D%22toc-hId--537495509%22%3E%3CFONT%20size%3D%225%22%3ECustomization%3A%3C%2FFONT%3E%3C%2FH1%3E%0A%3CUL%3E%0A%3CLI%3EIf%20you%20prefer%20a%20non-interactive%20experience%2C%20set%20%3CEM%3Eaz%20config%20set%20next.execute_in_prompt%20%3D%20False%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3EIf%20you%20prefer%20the%20options%20to%20be%20more%20elaborated%20with%20parameters%2C%20set%20%3CEM%3Eaz%20config%20next.show_arugments%3DTrue%3C%2FEM%3E%3C%2FLI%3E%0A%3CLI%3EFor%20additional%20customization%2C%20%3CEM%3Eaz%20next%20%E2%80%93help%20%3C%2FEM%3Ewill%20provide%20more%20context%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH1%20id%3D%22toc-hId-1950017267%22%20id%3D%22toc-hId-1950017324%22%20id%3D%22toc-hId-1950017324%22%3E%3CFONT%20size%3D%225%22%3ETechnical%20details%3A%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3Eaz%20next%20is%20the%20first%20CLI%20recommender%20to%20provide%20contextual%20command%20recommendations%20based%20on%20the%20analysis%20of%20user%20behavior%20and%20session%20context.%20The%20recommender%20employs%20a%20hybrid%20model%20where%20it%20combines%20the%20recommendations%20from%20both%20the%3A%20i)%20quantitative%20model%20build%20by%20the%20data%20science%20team%2C%20which%20provides%20the%20next%20set%20of%20commands%20with%20the%20maximum%20likelihood%20based%20on%20the%20aggregation%20of%20all%20users%E2%80%99%20in%20tool%20behavior%20%3B%20and%20ii)%20the%20knowledge%20base%20built%20by%20the%20engineering%20team%2C%20which%20comprises%20of%20automatic%20scripting%20detection%20and%20manual%20curated%20recommendations%20that%20represent%20the%20ground%20truth%20for%20certain%20scenarios%2C%20to%20ensure%20optimal%20accuracy%20in%20the%20command%20predictability.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20model%20reinforces%20its%20learning%20and%20improves%20on%20its%20prediction%20accuracy%20based%20on%20users%20feature%20%26amp%3B%20selection%20usage%2C%20as%20part%20of%20its%20feedback%20mechanism.%20Which%20is%20to%20say%2C%20both%20theoretically%20and%20practically%2C%20as%20users%E2%80%99%20feature%20usage%20increase%2C%20%3CEM%3Eaz%20next%E2%80%99s%3C%2FEM%3E%20prediction%20accuracy%20would%20also%20increase%20since%20it%E2%80%99s%20designed%20to%20continuously%20optimize%20its%20prediction%20accuracy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%225%22%3EGetting%20started%3A%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EWe%20hope%20you%20find%20this%20feature%20as%20useful%20and%20delightful%20as%20some%20of%20our%20preview%20customers%20do!%20To%20get%20started%2C%20simply%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Finstall-azure-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edownload%20the%20latest%20CLI%20version%20here%3C%2FA%3E%20and%20log%20issues%20or%20feature%20requests%20in%20our%20GitHub%20repo%3A%26nbsp%3B%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20-%20Azure%2Fazure-cli%3A%20Azure%20Command-Line%20Interface%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3E%3CFONT%20size%3D%225%22%3EShare%20us%20your%20feedback%20below!%3C%2FFONT%3E%3C%2FSTRONG%3E%3CBR%20%2F%3E%E2%80%A2%20What%20are%20some%20of%20the%20scenarios%20for%20which%20for%20you%E2%80%99d%20find%20az%20next%20helpful%3F%3CBR%20%2F%3E%E2%80%A2%20How%20do%20we%20feel%20about%20the%20overall%20UX%20design%20and%20walkthrough%3F%3CBR%20%2F%3E%E2%80%A2%20How%20can%20we%20further%20improve%2Ffine-tune%20the%20feature%20to%20deliver%20greater%20value%20for%20you%20and%20team%3F%3CBR%20%2F%3E%E2%80%A2%20%E2%80%A6%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2118582%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22aznext_gif-min.gif%22%20style%3D%22width%3A%20853px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253507iF17CA64E9AF903D8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22aznext_gif-min.gif%22%20alt%3D%22aznext_gif-min.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2118582%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzureCLI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119662%22%20slang%3D%22en-US%22%3ERe%3A%20az%20next%3A%20AI-powered%20interactive%20assistant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119662%22%20slang%3D%22en-US%22%3E%3CP%3EGreat!%20But%20it%20seems%20the%20latest%20CLI%20(2.19.0)%20does%20not%20include%20this%20feature.%20Is%20there%20any%20additional%20task%20to%20enable%20it%3F%20Thanks.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202021-02-10%20085133.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F253750iF741C0633DE7546A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202021-02-10%20085133.png%22%20alt%3D%22%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202021-02-10%20085133.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2148515%22%20slang%3D%22en-US%22%3ERe%3A%20az%20next%3A%20AI-powered%20interactive%20assistant%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2148515%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F94497%22%20target%3D%22_blank%22%3E%40Toru%20Makabe%3C%2FA%3E%26nbsp%3BHi%2C%26nbsp%3B%3CEM%3E%22az%20next%22%3C%2FEM%3E%20has%20been%20released%20as%20an%20extension%2C%20so%20please%20install%20%22%3CEM%3Eaz%20next%22%3C%2FEM%3E%26nbsp%3Bby%20executing%20%3CSTRONG%3E%3CEM%3E%22az%20extension%20add%20-n%20next%22%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Recently, we’d been receiving more feedback and requests around better in tool help/guidance from some of you. Across the wide variety of feedback, the scenario of not knowing what I could be running next to accomplish my task stood out to us – in fact, this is also the area where we received concern around the incompleteness and inaccuracy on az help and az find. Since then, our team collaborated with the data science team to develop a new command call az next, a feature that would provide contextual command recommendations for potential next steps.

 

aznext_gif-min.gif

Gif 1: az next guidance in creating a webapp

 

This feature, which adopts our latest design guidelines, should help making the Azure CLI more approachable for all users, including beginners

 

How az next can help you:

Our goal with az next is to guide users through their scenarios or sequence of jobs-to-be-done in tool, so that they could remain focused and steer clear of unnecessary external documentation searches.

 

There are 2 scenarios az next currently supports.

 

One is the simple walkthrough as shown above where upon the execution of az next, the user is presented with a set of command options. This mode aims to optimizes the success of your subsequent commands via predictive recommendations.

 

The second mode is the end-to-end scenario walkthrough with the aim to help you achieve a specific scenario in mind. The options are presented in the form of summary instead of individual explicit commands. Upon option selection, the tool will then guide you through individual's command completion one by one:

 

az next _core.png

Figure 1:  List of relevant end-to-end scenario for az next after webapp create

 

az next _core2.png

Figure 2: Scenario summary and command walkthrough upon option 4 selection

 

az next _2.png

Figure 3: Continuation of scenario walkthrough

Give them a try!

 

Customization:

  • If you prefer a non-interactive experience, set az config set next.execute_in_prompt = False
  • If you prefer the options to be more elaborated with parameters, set az config next.show_arugments=True
  • For additional customization, az next –help will provide more context

Technical details:

az next is the first CLI recommender to provide contextual command recommendations based on the analysis of user behavior and session context. The recommender employs a hybrid model where it combines the recommendations from both the: i) quantitative model build by the data science team, which provides the next set of commands with the maximum likelihood based on the aggregation of all users’ in tool behavior ; and ii) the knowledge base built by the engineering team, which comprises of automatic scripting detection and manual curated recommendations that represent the ground truth for certain scenarios, to ensure optimal accuracy in the command predictability.

 

The model reinforces its learning and improves on its prediction accuracy based on users feature & selection usage, as part of its feedback mechanism. Which is to say, both theoretically and practically, as users’ feature usage increase, az next’s prediction accuracy would also increase since it’s designed to continuously optimize its prediction accuracy.

 

Getting started:

We hope you find this feature as useful and delightful as some of our preview customers do! To get started, simply download the latest CLI version here and log issues or feature requests in our GitHub repo:  GitHub - Azure/azure-cli: Azure Command-Line Interface

 


Share us your feedback below!
• What are some of the scenarios for which for you’d find az next helpful?
• How do we feel about the overall UX design and walkthrough?
• How can we further improve/fine-tune the feature to deliver greater value for you and team?
• …

 

 

 

3 Comments
Microsoft

Great! But it seems the latest CLI (2.19.0) does not include this feature. Is there any additional task to enable it? Thanks.

 

スクリーンショット 2021-02-10 085133.png

Microsoft

@Toru Makabe Hi, "az next" has been released as an extension, so please install "az next" by executing "az extension add -n next"

Microsoft

@zhoxing Thanks! It works now.