...
Drag and drop Capture Feedback on the canvas.
On the properties panel, select the type of feedback in the Feedback Prompt
For Text type:
Add the feedback question specific to the skill in the Message field.
For Quick Replies:
Add the response questions.
You may add a follow-up action or skill in Payload to automatically trigger an action based on the feedback response selected by the end user.
Click on the tag icon on the option and add the required action or skill in the ‘Value.’
Add a Post Feedback Message. The message is triggered once the response to the survey is received.
Script
The Script block empowers skill developers to add custom scripts to their skills, enabling handling complex scenarios such as performing calculations, data manipulations, or implementing other custom logic. It provides flexibility and capability of your skills by allowing you to inject JavaScript directly into your conversation flow. Using scripts, you can perform complex processing and set or clear context attributes.
To use a script in the conversation, follow the below steps:
Drag and drop the Script on the canvas.
On the properties panel, add the script to the script block.
Click on the maximize button on the screen to view the script pop-up.
Info |
---|
Use the following syntax to use existing attributes in the script To refer to the value of a context variables:
To set a context attribute:
To clear attributes:
|
End
The 'End' block signifies the conclusion of a flow within the skill. When the skill execution reaches the End block, it signals the end of the skill's execution, triggering the Global Survey based on the specified configuration. While the End block is not mandatory, reaching a control without a subsequent node also marks the end of the skill execution and automatically accounts for the Survey, following the global configuration. To disable the survey for a specific path in the skill, you can incorporate the End Block accordingly.
...
Drag and drop the 'AI Task' conversation step on the skill.
On the properties panel, select Existing to execute the OOTB tasks or Adhoc to add a new request for Generative AI.
For an Existing Task:
Select the Task Category.
Select Sub Category.
Select the required Task.
Note: Only the prompt which have Visible in AI Prompt checked will be available here.
Now click on Test Response to verify if the selected task generates the information required in the skill.
The AI Task Response Validation screen is used toverify the AI task and configurations. Here, you can validate the response of the AI task by providing values to the input parameters of the selected task.
Task Category, Subcategory, and Task section to select the task. The section is populated based on the selection in the Properties panel. You may test and change the task as required.
The Task Description section provides information on the task being executed.
Map Task Input Parameters lists all the input parameters required for the task. You can assign a value or use an attribute to refer to the value available in the attribute.
Now click on Test to verify the response of the AI Task.
When an attribute is used while mapping an input parameter, Assign Test values for each attribute. These values are used to test the task. Add the test values and click Test.
The system executes the task using the test values.
For an Adhoc task, select 'Adhoc Task' in the properties panel.
Add the task details to be executed in the Task Description field. This is a free text field where you can describe the task to be executed using Generative AI.
Now, Click on Test Response.
On the AI Task Response Validation screen, validate the response of the AI task.
Task Description indicates the action to be performed in the step.
Click on Test and validate the response in Test Response. Refine the Task description to ensure it generates the information as required.
...