Testing the cognitive summarization service
Before consuming the cognitive summarization in a custom application, administrators can test the service to quickly check the summary that gets generated for an input text or attachment. To test the summarization service, administrators can use one of the following options:
- Interactive Summarization—Enables you to provide the input text directly on the UI and get the summary for the text.
- Record Summarization—Enables you to 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
- Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
- Click the configuration that you created for training the cognitive service.
For example, select My application > Summarization Testing. 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. While generating the summary, irrelevant information such as email headers, signatures, and so on are removed.
- 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.
- Click Summarize.
The summarized content is displayed in the Summary field, as shown in the following image:
To test the cognitive summarization service by using Record Summarization
- Log in to BMC Helix Innovation Studio and navigate to the Administration tab.
- Click the configuration that you created for training the cognitive service.
For example, select My application > Summarization Testing. 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.
- 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:
Where to go from here