Feeding actions and attributes

Learn how to create and manage actions and attributes for your project using the Portal

When running a solution, at different moments, based on the conditions predefined in logics, Affective Computing (powered by Virtue) performs or delivers actions. For example, you can create an action to display a personalized greeting when a (real or virtual human) user enters a room.

Attributes shape and classify actions. Related or similar actions can be grouped under the same attribute, similar to putting them in a common folder. For example, an attribute can contain multiple questions about the same matter framed in different ways ("Are you OK?", "How are you feeling?", "Do you feel good?").

To learn more about how actions and attributes work hand in hand with logics and help to incorporate personalization in solutions, see:

Feeding attributes

  1. Log in to the Portal.

Logging in to the Portal
  1. In the top navigation bar, select the Project for which you want to create attributes.

  2. In the left sidebar, navigate to Action Feeds > Feeding Attributes

  3. Navigate to one of the following tabs depending on the type of attribute you want to create:

    • Contents

    • Interactions

    • Triggered Actions

  4. In the upper-right corner, click + Create.

Creating an attribute
  1. Enter the following details:

(Example) Creating a content attribute
Field
Description
Step

Name

The name of the attribute.

(Mandatory) Enter a name.

Action Type

Type of action (for example, playing a sound or asking a question)

(Mandatory) Select an option.

For Diagnostics only?

Determines whether the actions grouped under the attribute needs to be used only in diagnostics mode (i.e. when obtaining psychological profiles of users). For example, a specific question can be asked during the diagnostics process to increase personalization.

If you want to use the actions in the attribute only for diagnostics, select this checkbox.

  1. The Action Feeding section lists available actions. You can select the actions that you want to group under the new attribute. For any listed action that you want to add to the attribute, in the Actions column, click Add.

Adding actions to the new attribute
  1. Click Save.

Feeding actions

  1. Log in to the Portal.

Logging in to the Portal
  1. In the top navigation bar, select the Project for which you want to create actions.

  2. In the left sidebar, navigate to Action Feeds > Action Feeding

  3. In the upper-right corner, click + Create.

Creating an action
  1. Enter the following details:

(Example) Creating a content action
Field
Description
Step

Action Category

The category of the action

(Mandatory) Select one of the following options:

  • Content

  • Interaction

  • Triggered action

Action Type

Type of action (for example, playing a sound or asking a question)

(Mandatory) Select an option. The values you can select depend on the action category you selected previously.

Identity

The ID (name) of the action

(Mandatory) Enter a name

Executable Action

The action that EDAA™ needs to execute.

(Mandatory) Depending on the action category and type, do one of the following:

  • Upload a file that contains the audio that needs to be played when executing the sound or music content action.

  • Enter the details of the action. For example, when creating a question interaction action, you can enter the question that needs to be asked when executing the action.

Keep it secret

Determines whether the action is available only for you as a tenant and not to other clients

If you want to keep the action secret, select this checkbox This ensures that the action is used only in the current project.

  1. Click Save.

Auto-feeding of actions

To make the feeding process easier, the Portal offers two ways of automation: importing the feeding and auto-feeding from an uploaded document.

You can also feed actions in an automated manner when using the Portal in the following ways:

  • Importing an action feed

  • Auto-feeding actions by uploading a document

Importing a feed from a channel

  1. Log in to the Portal.

Logging in to the Portal
  1. In the top navigation bar, select the Project into which you want to import actions.

  2. In the left sidebar, navigate to Action Feeds > Action Feeding.

  3. In the upper-right corner, click + Import.

  1. Enter the following details:

Importing an action feed
Field
Description
Step

Request URL

The URL from where the feed must be imported

(Mandatory) Enter the URL.

Request Method

Type of request (for example, GET)

(Mandatory) Select an option.

Request Header

The header for the request

(Optional) Enter the request header Notes:

  • Separate rows by entering them in new lines.

  • Separate keys and values using ":".

Request Body

The body of the request

(Optional) Enter the request body in JSON format.

Response Attributes

The response of the request

(Optional) Enter the response attributes Notes:

  • Separate rows by entering them in new lines.

  • Separate keys and values using ":".

Expected Response Code

The expected response code for a successful request (for example, 200)

(Mandatory) Enter the response code

  1. Enter the details of the imported attribute:

Configuring an imported action feed
Field
Description
Step

Action Category

The category of the action

(Mandatory) Select one of the following options:

  • Content

  • Interaction

  • Triggered action

Action Type

Type of action (for example, playing a sound or asking a question)

(Mandatory) Select an option. The values you can select depend on the action category you selected previously.

  1. Click Start Connection.

Auto-feeding actions from a PDF file

  1. Log in to the Portal.

Logging in to the Portal
  1. In the top navigation bar, select the Project into which you want to import actions.

  2. In the left sidebar, navigate to Action Feeds > Auto-Feeding

  3. In the upper-right corner, click + Create.

Creating an action feed
  1. In [File path], upload the document.

Uploading an external file to create an action feed
  1. Click Save

Verifying actions

Whenever an automated feeding method is used to create an action, the action must be manually verified to ensure proper feeding. Do the following to verify your actions through the Portal:

  1. Log in to the Portal.

Logging in to the Portal
  1. In the top navigation bar, select the Project that contains the actions you want to verify.

  2. In the left sidebar, navigate to Action Feeds > Action Feeding.

The list of all actions created is displayed. You can review the Verified column to understand whether the action has been validated.

Viewing the verification status of actions
  1. To verify an action, in the Actions column, click Verify.

Verifying an action

Action and attribute feeding

Last updated

Was this helpful?