---
sourceDocument: Yokohama Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/intelligent-experiences

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Use automated prompt optimization

# Use automated prompt optimization {#ariaid-title1}

Release version: Yokohama  
Updated July 31, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Use automated prompt optimization in AI Skill Kit to enhance your prompt and make it more effective.

## Before you begin

Role required: sn_skill_builder.admin

## About this task

Prompt optimization is an iterative process of refining and adjusting prompts to identify the most effective prompts that consistently yield high-quality responses for a given task.

## Procedure

1. Navigate to AllAI Skill KitHome.
2. Create a skill or select the skill with the prompt that you want to optimize.
3. Select the Prompt performance tab.
4. Select the Optimization runs tab.
5. Select Create optimization run.
6. Add a name and description for the prompt optimization.
7. Select a prompt.
8. Add instructions for prompt optimization.  
   Instructions for prompt optimization provide clear guidance on framing prompts effectively, ensuring the model understands the task and context. The instructions minimize ambiguity and improve response quality.
9. **Optional:** Add advanced inputs.
10. Select a dataset or create a dataset.  
    A dataset is a collection of data or records used to test and assess the performance of a prompt. Using datasets for evaluation enable you to measure the prompt's responses and performance against predefined criteria.

    Datasets are essential for evaluating how well your prompt performs. They help optimize prompts and ensure that the prompt is robust, fair, and able to handle a variety of real-world tasks.
11. Select Continue.
12. Review the information that you added and then select Start optimization.
{#automated-prompt-optimization__steps_ajn_pw2_1fc}

*[\>]: and then


