Empowering Azure CLI developers with AI

%3CLINGO-SUB%20id%3D%22lingo-sub-1857170%22%20slang%3D%22en-US%22%3EEmpowering%20Azure%20CLI%20developers%20with%20AI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1857170%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20we%20redesigned%20the%20Azure%20CLI%20in%202016%2C%20our%20goal%20was%20to%20create%20a%20simple%2C%20easy%20to%20use%2C%20tool%20for%20managing%20Azure.%26nbsp%3B%20Since%20then%2C%20Azure%20has%20grown%20tremendously%20from%20supporting%20multiple%20clouds%20in%20various%20locations%20across%20the%20globe%2C%20on%2Foff%20premises%20services%2C%20and%20scenario-specific%20technologies%2C%20such%20as%20Azure%20IoT%20and%20AI%2FML%20tools.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20over%202500%20commands%2C%20tens%20of%20thousands%20of%20parameters%2C%20and%20new%20Azure%20features%20being%20developed%20daily%2C%20maintaining%20simplicity%20in%20Azure%20CLI%20is%20a%20challenge.%20In%20this%20post%2C%20we%20want%20to%20introduce%20you%20to%20three%20of%20our%20AI-powered%20features%20we%E2%80%99ve%20developed%20to%20ensure%20the%20Azure%20CLI%20remains%20easy%20to%20use%2C%20consistent%2C%20and%20%E2%80%9Cevergreen%E2%80%9D.%26nbsp%3B%20These%20features%20include%3A%20generating%20up-to-date%20examples%2C%20enabling%20natural%20language%20search%20in%20command%20line%2C%20and%20assisting%20with%20failure%20recovery.%20We%20will%20share%20with%20you%20our%20learnings%20and%20journey%20below.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELearning%20new%20software%20and%20APIs%20requires%20up%20to%20date%20documentation%20with%20multiple%20examples%20covering%20the%20main%20common%20scenarios.%20However%2C%20the%20fast%20pace%20of%20modern%20software%20causes%20documentation%2C%20especially%20examples%2C%20to%20quickly%20become%20stale.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%E2%80%99ve%20addressed%20the%20problem%20of%20incomplete%20and%20stale%20documentation%20by%20developing%20an%20AI-powered%20platform%20that%20automatically%20generates%20and%20updates%20examples%20for%20our%20command%20line%20tools%20(Azure%20CLI%20and%20Azure%20PowerShell)%20ensuring%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EUp-to-date%20examples%3C%2FSTRONG%3E%3A%20generate%20new%20examples%20with%20each%20new%20Azure%20CLI%20(and%20Azure%20PowerShell)%20release%2C%20ensuring%20the%20documentation%20is%20always%20up-to-date.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ERepresentative%20of%20actual%20usage%3C%2FSTRONG%3E%3A%20Unlike%20bare-bones%20examples%20usually%20found%20in%20documentation%20that%20only%20cover%20basic%20scenarios%2C%20our%20examples%20are%20based%20on%20actual%20usage%20patterns%20and%20therefore%20represent%20how%20current%20users%20use%20the%20software%20in%20practice.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EInformed%20by%20our%20educational%20content%3C%2FSTRONG%3E%3A%20Our%20platform%20ingests%20over%2014%2C000%20pages%20of%20blogs%2C%20tutorials%2C%20and%20samples%20to%20ensure%20consistency%20(naming%2C%20sample%20values%2C%20etc.)%20across%20our%20learning%20resources.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-tools%2Fempowering-azure-cli-developers-with-ai%2Fba-p%2F1701251%22%20target%3D%22_self%22%3ERead%20the%20full%20article%3C%2FA%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1857170%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20CLI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

When we redesigned the Azure CLI in 2016, our goal was to create a simple, easy to use, tool for managing Azure.  Since then, Azure has grown tremendously from supporting multiple clouds in various locations across the globe, on/off premises services, and scenario-specific technologies, such as Azure IoT and AI/ML tools. 

 

With over 2500 commands, tens of thousands of parameters, and new Azure features being developed daily, maintaining simplicity in Azure CLI is a challenge. In this post, we want to introduce you to three of our AI-powered features we’ve developed to ensure the Azure CLI remains easy to use, consistent, and “evergreen”.  These features include: generating up-to-date examples, enabling natural language search in command line, and assisting with failure recovery. We will share with you our learnings and journey below.

 

Learning new software and APIs requires up to date documentation with multiple examples covering the main common scenarios. However, the fast pace of modern software causes documentation, especially examples, to quickly become stale.

 

We’ve addressed the problem of incomplete and stale documentation by developing an AI-powered platform that automatically generates and updates examples for our command line tools (Azure CLI and Azure PowerShell) ensuring

 

  • Up-to-date examples: generate new examples with each new Azure CLI (and Azure PowerShell) release, ensuring the documentation is always up-to-date.
  • Representative of actual usage: Unlike bare-bones examples usually found in documentation that only cover basic scenarios, our examples are based on actual usage patterns and therefore represent how current users use the software in practice.
  • Informed by our educational content: Our platform ingests over 14,000 pages of blogs, tutorials, and samples to ensure consistency (naming, sample values, etc.) across our learning resources. 

 

Read the full article 

0 Replies