Prompt Management

The Prompt Management screen is a vital component of the BOT Builder, designed to help users create, edit, and manage prompt templates efficiently. This screen provides functionalities for creating new prompt templates, editing existing ones, and copying templates for quicker modifications. Below is a detailed guide on how to use each feature available on the Prompt Management screen.

Functionalities

1. Create Prompt Template

The Create Prompt Template feature allows users to design new prompts for their AI models. To create a new prompt template, follow these steps:

  1. Name: Enter a unique and descriptive name for the prompt template.

  2. Category: Select the appropriate category for the prompt from the dropdown list. Categories help in organizing prompts for easier access and management.

  3. Sub-category: Choose a sub-category if applicable. This further refines the prompt’s classification.

  4. Description: Provide a detailed description of the prompt. This helps other users understand the purpose and functionality of the prompt template.

  5. Visible in AI Prompt: Toggle this option to make the prompt visible in AI-generated suggestions.

  6. System Message: Enter the message that the system will send. This message is usually used to set the context for the user interaction.

  7. User Message: Define the expected user input or message that the AI will respond to. This field guides the AI on what to look for in user interactions.

  8. Response Format: Specify the format of the AI’s response. This could be in text, JSON, XML, or any other required format.

  9. Deployment Model: Select the deployment model that will use this prompt. Deployment models could vary based on the environment or version.

  10. Response Parameters: Define any additional parameters that will be included in the AI’s response. These parameters help customize the output as per the user’s requirements.

Once all fields are filled, click the Save button to create the new prompt template. (see screenshots below)

 

image-20240611-080557.png
image-20240611-080736.png

2. Edit Prompt Template

The Edit Prompt Template feature allows users to modify existing prompt templates. To edit a prompt template, follow these steps:

Note: You cannot edit System Defined Prompt Template.

  1. Navigate to the list of existing prompt templates.

  2. Select the prompt template you wish to edit.

  3. Update any of the fields as required:

    • Name: Modify the template’s name if necessary.

    • Category: Change the category if it better fits another classification.

    • Sub-category: Update the sub-category as needed.

    • Description: Revise the description to reflect any changes in the prompt’s purpose or usage.

    • Visible in AI Prompt: Toggle the visibility status as required.

    • System Message: Adjust the system message to better set the context.

    • User Message: Edit the user message to refine the expected input.

    • Response Format: Change the response format if needed.

    • Deployment Model: Update the deployment model selection in Advanced Configuration.

    • Response Parameters: Modify or add response parameters to enhance the output.

After making the necessary changes, click the Save button to save the edits.

3. Copy Prompt Template

The Copy Prompt Template feature provides a quick way to create a new prompt template based on an existing one. This is useful for making slight variations of a prompt without starting from scratch. To copy a prompt template, follow these steps:

  1. Locate the prompt template you wish to copy.

  2. Click the Copy button next to the template.

  3. A new template will be created with all the fields pre-filled from the original template except name field.

  4. Modify any of the fields as required to differentiate the new template from the original one.

  5. Click the Create button to create the new prompt template.

4.Test Prompt Template

  1. Testing a prompt template is used to verify the prompt, input parameters and configurations. Here, you can validate the response of the prompt by providing values to the input parameters of the selected template.

© 2019 Serviceaide 1-650-206-8988 http://www.serviceaide.com info@serviceaide.com