Updating prompts and skills for consistent and efficient responses from BMC HelixGPT
To associate a skill with another model
- In HelixGPT Manager, select the application and skill for which you want to change the model.
- From the Provider and Model lists, select the service provider and model version, respectively.
- Click Apply.
You can associate custom skills from one model to another. However, you cannot associate out-of-the-box skills from one model to another.
To link and unlink a prompt
You can reuse a prompt from a different skill in a new skill by linking it. In addition, if you do not want a prompt associated with a skill, you can unlink it. Unlinking helps to remove a prompt from a skill without deleting the prompt completely.
- In HelixGPT Manager, select the application and the skill from which you want to link or unlink a prompt.
- To link a prompt, follow the steps below:
- On the Prompts tab, click Link prompt.
A Link prompt dialog box opens. - select the prompt from the list that you want to link in your skill.
You can also directly type the name of the prompt or application in the Search box to filter the long list and select the prompt you want to link.
- On the Prompts tab, click Link prompt.
- Click Link.
- To unlink a prompt, complete the following steps:
- On the Prompts tab, click the Action button for the prompt you want to unlink.
- Click Unlink.
- Confirm the unblinking.
To rename a prompt
The prompt name must be unique within an application. If a prompt with the same name already exists in the target application, you must rename the prompt when copying it from one application to another.
- In HelixGPT Manager, select the application and the skill for which you want to rename a prompt.
- On the Prompts tab, find the list of prompts and click the Actions list next to the prompt you wish to rename.
- A Rename prompt dialog box is displayed. Enter the Prompt name and click Save.
Versioning prompts
Versioning prompts in BMC HelixGPT enhances prompt management by enabling customers to create, save, and switch between different versions for various use cases. This feature helps retain changes for future reference, enhancing efficiency.
Consider the following points when you version a prompt:
- You can version only the custom prompts.
- If you want to version an out-of-the-box prompt, create a copy of that prompt and then version the copied prompt.
- When you create a new version of an existing prompt, the system automatically increments the version number from the latest available one. For example, if you have 4 prompt versions and want to add a prompt version to v2, the new prompt version is v5, not v3.
- By default, when a new prompt version is added to a skill, it automatically becomes the active version for that skill.
- When you rename a prompt, the system also automatically renames all its prompt versions.
- When you publish a service prompt such as Guest Wi-Fi, it is added only to the active version of the router prompt in the target skill. If deleted, the entry is removed only from the active version of the router prompt.
To version a prompt
- In HelixGPT Manager, select the application and the skill for which you want to version a prompt.
- On the Prompts tab, from the list of prompts, select the prompt for which you want to create the version.
- Click Add Version. Enter the required details.
- Click Create.
The following screenshot shows an example of options available for a prompt version:
To edit a prompt version
- Select the radio button next to the appropriate version.
- Click Edit.
- Click Save.
While editing a version, you cannot edit the prompt name, type, and version number.
To activate a prompt version
When you add a new version, it automatically becomes the active version. To change the active version:
- In HelixGPT Manager, select the application and the skill for which you want to activate the prompt version.
- On the Prompts tab, from the list of prompts, select the prompt for which you want to activate the prompt version.
- Select the appropriate version and click Activate.
To copy a prompt version
You can copy a prompt version from one skill to another from any application.
The version number of a copied version starts with version 1, regardless of the version from which it was copied.
- In HelixGPT Manager, select the application and the skill from which you want to copy a prompt version.
- Select the prompt version you want to copy and click Copy.
- In the Copy prompt dialog box, specify a Prompt name for the new prompt.
The name must be unique for that application.
- From the list of skills and their applications, select the skill that you want to copy
You can also directly type the name of the skill or application in the Search box to filter the long list and select the skill you want to copy. - Click Copy.
To delete a prompt version
You can delete a specific version of the prompt. Deleting a version of a prompt removes it from all skills or applications where it’s used.
- Select the radio button next to the appropriate version.
- Click Delete.
A confirmation dialog box appears to finalize the deletion. - Click Yes.
To delete a prompt with all the versions
You can delete a complete prompt, which removes all versions associated with it.
- Click the Actions list next to the prompt you want to delete.
- Click Delete.
A confirmation dialog box is displayed. - Click Yes.
To change the model for a prompt
By default, the prompts added to the skill leverage the model selected while creating the skill. As an administrator, you can change the model for individual prompts in a skill to improve their relevance and BMC HelixGPT response time.
- In the HelixGPT Manager, select the application and the skill.
- Go to the Prompts tab and Edit the prompt for which you want to change the model.
The Prompt version editor opens. - In the Promot version editor, in the Model section, disable the radio button to select the different Provider and Model.
By default, the radio button is enabled to use the same provider and model for skill and prompt. - Select the Provider and Model from the respective drop-down lists.
- Click Save.
To add multiple response prompts for a skill
To configure multiple response prompts, you must modify the Router prompt. Make the following changes when updating the Router prompt:
- The classificationType key must have the value response.
- The nextPromptType and serviceName keys must have the <response prompt name> as a value.
See the example to modify the Router prompt:
To configure options for the Response prompt
To configure options for the Response prompt, add a custom prompt of type Response to a custom skill and modify the code to include multiple options. See the example below:
Consider the following when configuring options:
- If the Response prompt is not the starter prompt, you must add an instruction in the Router prompt.
- The nextPromptType and serviceName keys must have the <response prompt name> as a value.
To obtain JSON from the Response prompt
To obtain a JSON string from the Response prompt, enclose the code block within double curly brackets. See the example below.