Prompt Assist

Overview

This feature introduces an AI-driven prompt suggestion engine within the GUI builder that helps usersgenerate optimized prompt variations for their agents. By leveraging the defined Agent Persona and user input, the system automatically creates high-quality prompt suggestions that align with the agent’s intended behavior, tone, and logic.

The goal of this feature is to improve productivity and accelerate agent configuration. Instead of manually crafting prompts from scratch, users can quickly generate multiple prompt variations and refine their agent’s personality and functionality. The AI acts as a co-pilot, helping users move from an initial idea or blank prompt field to a well-structured and context-aware prompt.

The solution integrates an interactive suggestion interface within the prompt editor. Users can click a “ prompt assist” button to generate prompt variations based on the current Agent Persona and provided input. The system sends this information to a Large Language Model (LLM), which returns three distinct prompt variations that maintain consistency with the agent’s defined attributes such as tone, role, and constraints.

Users can review the generated suggestions in a selection modal and choose the most suitable option. With the one-click apply functionality, the selected suggestion will automatically populate the main prompt field, enabling quick iteration and refinement of the agent’s behavior.

Prompt Assist helps users generate prompt suggestions while configuring an agent. It provides multiple prompt variations and suggested parameters that can be appended to or replace existing prompts in the agent configuration.

1. Opening the Prompt Assist Window

Steps:

  1. Open the URL:< https://tenant-url/admin#/>
  2. Navigate to the Agents tab.
  3. Click + Add New Agent.
  4. Enter the required Master Agent details.
  5. Open the Model Configuration section.
  6. Scroll down and click the Prompt Assist button.
    Figure 1. Prompt Assist

    Prompt Assist panel opens on the right side.

    Panel displays title, close icon, text input box, submit icon, and action buttons.
    Figure 2. Prompt Assist Panel

2. Generating Prompt Suggestions

Steps:
  1. Enter the prompt input in the text box.
  2. Click the Submit icon.
    Figure 3. Input Prompts
    • Prompt suggestions are generated.
    • Suggested parameters and prompt variations are displayed.
    • Select All and Deselect All options appear.
  3. Click Append to add the prompts to the prompts list.
    Figure 4. Prompt Suggestions
    Figure 5. List of Prompts

5. Replace Existing Prompt

Steps:
  1. Open Prompt Assist.
  2. Enter the prompt input and click Submit.
  3. Select a suggested prompt.
  4. Click Replace.
    Figure 6. Replace Prompts
  5. After clicking Replace, a confirmation message will appear. Click OK to replace the existing prompts, or click Cancel to discard the action.
    Figure 7. Confirmation Message
    On Selecting OK, It will replace all existing prompts in the list.
    Figure 8. Existing Prompts Replaced

6. Append Prompt for Existing Prompt

Steps:
  1. Open Prompt Assist.
  2. Enter the prompt input.
  3. Click Submit.
  4. Select a prompt from Suggestions.
  5. Click Append.
  6. Selected prompt is appended to the existing content.
  7. Existing content remains unchanged.
Note:
If the user replaces one prompt and appends another prompt, both actions should work without any conflicts.