Service Automation Copilot for Skills
  • 02 Aug 2024
  • 2 Minutes to read
  • PDF

Service Automation Copilot for Skills

  • PDF

Article summary

Overview

Generative AI Capability feature revolves around leveraging generative AI, a subset of artificial intelligence, to assist users in creating code for service automation. The AI system generates and displays the corresponding code based on the user input.

SAuto%20benefits

Benefits

Q%20and%20A

How does it work?

In order to generate the code, the application must be integrated with AI service provider platform which requires API details of the platform. As of now, the integration is available for CodeLlama platforms.

Note

The AI platform integration is currently performed in the back end. To use CodeLlama, the API and token must be updated from the back end.

Prerequisite

To use the Copilot feature on the Skills page, the copilot option should be enabled first.

  1. Navigate to Application Settings > Copilot page.

  2. On the Copilot page, enable the Copilot option and provide the required details in mandatory fields as shown below.

    Figure: Application Settings - Copilot option


    Field Description

    Field

    Description

    Enable Copilot

    Switch this toggle to enable the copilot option.

    Provider *

    Provider field indicates the company or entity that supplies the AI or machine learning service.

    Model *

    Model field specifies the particular AI or machine learning model being utilized. This can vary significantly depending on the provider and the task at hand.

This is a mandatory step to utilize the Copilot feature. If you miss this step, don't worry! We'll guide you to this page when you visit the Skills page if this option is not enabled beforehand.

Figure: New Skill page

Upon clicking Application Settings hyperlink, you will be guided to Copilot page to enable the option.

View Copilot

To view Copilot feature on Skills page, perform the following steps:

  1.  Navigate to Menu > Skills > Manage Skills > New Skill.

  2.  Select the desired Language from the drop-down, which is a mandatory field.

  3. Click the “Empower your skills with Copilot” drop-down to see the prompt window with text field and Generate button.

    Figure: Copilot prompt window

  4. In the prompt text box, type in the requirement and click Generate to generate the code. The code is displayed in the skill editor block.

    Figure: Copilot skill generation

Let’s see Copilot functionality in action!

Note

When you click Review Your Skill button after generating the skill through Copilot, the following validation message is displayed.

Reason: The Review Your Skill option is useful when you write the code yourself or make changes to the Copilot-generated code. It ensures the code is correct by performing a check/validation.

The code generated by Copilot, powered by AI, is typically accurate and may not require further validation.

What happens if the Copilot option is disabled?

The following warning message is displayed if the copilot option is disabled.

Review Your Skill

This option can be used to check and validate the skill entered in the block, ensuring it is correct and error-free.

Upon clicking Review Your Skill button, Copilot Suggestions grid is displayed as follows:

Figure: Copilot Suggestions grid

If you wish to keep the original skill code, select the first option. If you wish to use the copilot recommended code, select the second option.

Once a skill is generated by Copilot and saved, it appears on the Skill List page. To differentiate between normal skills and those generated by Copilot, Copilot skills are highlighted with an icon, as shown below:

Figure: Skills list page with copilot skill


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.