Explain and summarize code with Quick Actions

  • Release version: Yokohama
  • Updated February 7, 2025
  • 1 minute to read
  • Get a summary of the code or a comprehensive explanation of its functionality.

    Before you begin

    The summarize and explain features are only available with Azure OpenAI model provider. Make sure you turn them on. For more information, see Enable Code Explain and Summarize.

    Role required: now.assist.creator

    Procedure

    1. Navigate to any script editor enabled with Now Assist for Code.
    2. In the script editor, select a code and then select the Quick Actions button.
      Selecting Quick Actions button displays the Summarize code and Explain code options.
    3. Understand the purpose of the code by selecting Summarize code.
      A summary of the code is displayed in the script editor.
    4. Get a comprehensive explanation of the code’s functionality by selecting Explain code in detail.
      A detailed explanation of the code is displayed in the script editor.