Rewrite

Estimated reading: 3 minutes 61 views

This activity allows the user to rewrite content based on the provided set of instructions.

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

Content to be rewritten: *Specifies the input text that needs to be rewritten and accepts values in the “String” format, either by hardcoding the text or by providing a string variable.

Rewrite Instructions: Specifies the instructions or purpose for rewriting the input text. It accepts values in the “String” format, either by hardcoding the text or by providing a string variable.

Example: Specifies a sample text that helps identify the desired structure and tone for rewriting the input content. It accepts values in the “String” format, either by hardcoding the text or by providing a string variable.

Total Words: Specifies the total number of words to be included in the output. If no value is provided, the activity will return content of any length.

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.

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. 

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

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 content 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

Rewritten content: Returns the revised content 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

Rewrite

Or copy link

CONTENTS