Testing the cognitive summarization service


After you've subscribed to the appropriate service license to use the cognitive summarization service, as an administrator, you can test the service to quickly check the summary that gets generated for an input text or attachment before using it in your custom application.

To test the summarization service, use one of the following options:

  • Interactive Summarization—Provide the input text directly on the UI and get the summary for the text.
  • Record Summarization—Select the input text from a text or an attachment field in a record definition and display the generated summary in a different text field in the same record definition.

To use the cognitive summarization service in a custom application, you need to subscribe to an appropriate service license.

To test the cognitive summarization service by using Interactive Summarization

  1. Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
  2. Click the configuration that you created for training the cognitive service.
    For example, select My application > Summarization Testing.
  3. On the Summarization Testing page, expand the Interactive Summarization section, and enter the values for the following fields:

    Field

    Description

    Text

    Enter input text that you want to summarize.

    Data Source

    Source of input text. The data source can be one of the following types:

    • Email—Generates a summary of an email chain.
      The summarization feature removes irrelevant information such as email headers and signatures from the summary.
    • Chat—Generates a summary of a chat conversation between the chatbot and the user.
    • Other—Generates a summary of any other type of text input.

    Summarization Percentage

    The percentage of sentences that you want to extract from the input text to generate a summary.

  4. Click Summarize.

The summarized content is displayed in the Summary field, as shown in the following image:

23_3_Summarization_Testing.png

To test the cognitive summarization service by using Record Summarization

  1. Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
  2. Click the configuration that you created for training the cognitive service.
    For example, select My application > Summarization Testing.
  3. On the Summarization Testing page, expand the Record Summarization section, and enter the values for the following fields:

    Field

    Description

    Record Definition

    Select the record definition from where you want to use the input text.

    Data Source

    Select the source of your input text. Based on the source type, the summary for the input is generated.

    The source can be one of the following types:

    • Email—Generates a summary of an email chain.
    • Chat—Generates a summary of a chat conversation between the chatbot and the user.
    • Other—Generates a summary of any other type of text input.

    Text Input Field

    Select the field from where you can select the input text. You can include text from the following field types:

    • Text fields
    • Attachment fields that contain Adobe PDF (.pdf), Microsoft Word (.doc, .docx), plain text (.txt), OpenDocument Text (.odt), Microsoft PowerPoint (.ppt, .pptx), Microsoft Outlook (.msg), and HTML (.html) files.

    Summary Output Field

    Select the text field where you want to display the generated summary.

    Summarization Percentage

    Enter the percentage of sentences that you want to extract from the input text to generate a summary.

  4. Click Summarize to generate the summary.

The input text and the summary are displayed in the grid.

To view the complete summary for the input text, select the input text from the list, and click View Summarization Details, as shown in the following image:

22_1_Record Summarization.png


 

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