Generating prompts automatically from catalog services


As an administrator, to reuse the data from catalog services in BMC HelixGPT, you must publish it into HelixGPT. The published data is automatically converted to prompts in the format that is required for HelixGPT. The prompts are then available in the specified skill in HelixGPT for use. The router prompt is automatically updated with the newly imported catalog service.

By reusing the data, you can reduce the task of manually creating prompts for catalog services.

Related topics

Before you begin

Create a new skill in BMC HelixGPT into which you want to import the service catalog data as a promptLearn how to create a skill in Creating-prompts-and-skills-for-consistent-and-efficient-responses-from-BMC-HelixGPT.

Important

You can't update out-of-the-box (OOTB) sample skills that are available for BMC Helix Digital Workplace. Instead, you must create a new skill to which you want to publish the service catalog data as a prompt. For more information about the available OOTB sample skills, see Out-of-the-box-skills-in-BMC-Helix-Digital-Workplace.


To publish catalog services to BMC HelixGPT

  1. Log in to BMC Helix Innovation Studio.
  2. Select Workspace > HelixGPT Manager.
  3. Select Actions > Publish chat-enabled services.
  4. In the Publish Chat-enabled Service pane, on the Cognitive Service Provider tab, select BMC HelixGPT.
  5. Select the name of the application for which you want to generate prompts.
  6. Select the Skill Name to which you want to import the prompt, and click Next.
    The services are displayed on the Service to Chat-enabled tab based on the catalog items you select.
  7. Select the catalog services that you want to reuse in HelixGPT, and click Next.
  8. On the User Request tab, define the variations that users might ask in the chatbot, and click Next.
  9. On the Questions tab, define the natural language expression of the question, and click Next.
  10. On the Publication tab, review the details, and click Publish.

After publishing the catalog services to HelixGPT, the prompts are added to your selected skill. Verify that the prompts are generated correctly and if required, make any changes.

Important

While publishing a service from BMC Helix Digital Workplace Catalog to BMC HelixGPT, you can add input variations and change the natural language questions. These changes are preserved even after the service is published.

Best practices

Use the following best practices to use the automatically generated prompts in BMC HelixGPT:

  • A generated prompt works best with the supported models.
    For more information about the supported models and the default model configuration values, see Models-in-BMC-HelixGPT.
  • Create a new skill in HelixGPT to import the automatically generated prompts.

    Important

    The OOTB sample skills are read-only and the new prompts for publishing the service catalog data can't be added to them. 

  • Copy the instructions of an existing router prompt. Create a new router prompt for the new skill, and reuse the copied instructions for the new router prompt.

    Important

    If you want to reuse an existing out-of-the-box DWP Router Prompt, you must create your own copy of this prompt with the Read and Write permissions. Also, you must give a unique name to your router prompt. For more information about the available OOTB sample skills and their associated prompts, see Out-of-the-box-skills-in-BMC-Helix-Digital-Workplace.

  • A generated prompt works best if you use the model that supports JSON response.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*