Summarize Text

Estimated reading: 3 minutes 1350 views

This activity generates a concise summary of the input text, limited to the defined maximum number of words.

Technical Reference

Configuration

Once the integration is connected from the Manager, the property panel will automatically display the connected integration.
If you see the message “Add new connection”, click here to learn how to set up a new connection.

Below are the properties available after the project has been integrated:

Provider: *This parameter indicates the account name associated with integration.

Model Type: *Specifies to choose the list of models available for GEN AI integration. 

Input

DelayAfter: It assists the user to add a delay before initiating subsequent activities. The delay duration here is in milliseconds. By default, it is set to “500” milliseconds. When the option is left blank, the delay will not be considered.

DelayBefore: It assists the user in adding a delay before starting the execution of the activities. The delay duration here is in milliseconds. By default, it is set to “500” milliseconds. When the option is left blank, the delay will not be considered.

Text to summarize: *Specifies the input text for summarization. It accepts values either as a string enclosed in double quotes or as a string variable.

Number of summary words: Specifies the maximum length of the generated summary. Accepts either an Int32 value or an Int32 variable.

Summary format: Specifies to choose the summary of the text as paragraph, numbered list or bullet points from the drop-down.

Change Output language: Specifies whether the output should be provided in a different language. The default value is False. 

Timeout: Specifies the maximum time allowed for the activity to execute. If the connection is not established within this period, an exception will be thrown. By default, it is set to “30000” milliseconds. 

Test: Selecting this option opens the Co-Pilot assistant, allowing you test the provided input and view the output simultaneously.

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used. 

Option 

Output Language: Specifies to choose the preferred language for the summary from the drop-down when the output needs to be in a different language. This option is available only if ‘Change Output Language’ is set to True. 

Output

Summary: Returns the summary of the provided input as a string variable. 

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

* Represents mandatory fields to execute the workflow.

Share this Doc

Summarize Text

Or copy link

CONTENTS