Clone and edit a ServiceNow skill
Eligible skills provided in ServiceNow Now Assist applications can be cloned in Now Assist Skill Kit so that you can edit the prompt or change the AI service provider. Editing the prompt enables you to arrange the formatting and content of the LLM response.
Before you begin
Role required: sn_skill_builder.admin
Procedure
- Navigate to All > Now Assist Skill Kit > Home.
- Select ServiceNow skills
- Select the ServiceNow skill that you want to clone.
- Select Clone Skill.
-
Fill in the fields on the form.
Table 1. Clone skill form Field Description Skill name A name for the skill. Description A description of the skill. Default provider Available providers: - Now LLM Service
- External LLM
- Spokes
- Custom LLM
For more information on setting up a custom large language model (LLM), see Configure a generic large language model (LLM) connector
Available prebuilt spokes that enable you to connect with an external LLM:- Microsoft Azure OpenAI Generative AI Spoke
- OpenAI Generative AI Spoke
- Aleph Alpha
- WatsonX
- Google Gemini (MakerSuite and Vertex AI)
Note:The spokes don't consume Integration Hub transactions. The spokes consume assists.Provider API The provider of the API for your chosen LLM. -
Select Clone.
Note:When you clone a skill, you can't change the skill outputs, tools, or deployment settings.
-
Select the edit or add icon to add skill inputs.
Table 2. Add skill inputs form Field Description Dataype Select the datatype for the input. Name The name of the skill input. Description A description of the skill input. Make input mandatory check box Select this box if the input must be provided for the skill to run. Table 3. Edit inputs form Section Description Base input table fields Each skill relies on a base input table and input fields with descriptions to provide context for the LLM to generate a response. Rule conditions Rule conditions determine when the input template is used. By default, record state determines which input template the LLM uses. Additional input data sources You can add input data sources like related tables, activity streams and relationships to provide more context to the LLM. You can also add rule conditions to these additional data sources. - Select Add skill input.
- Optional:
Select Clone prompt to edit the prompt.
You will see all of the prompts that use the same supporting skill for each provider.
-
Add Prompt usage conditions.
These are conditions that determine when a prompt will be executed.
- To test the prompt, select Run test and add test values.
- Select the Skill settings tab.
- Optional: Select General information to change the default provider by selecting the toggle.
What to do next
Create your skill prompt. To learn more about creating a prompt, see Create a prompt.
After you clone and edit the skill and prompt, you can evaluate your prompt.To learn more about evaluating a prompt, see Evaluate a prompt.