Creating and managing logic blueprints
Learn about the logics endpoint collection, which enables you to create and manage logic blueprints and the different components of a logic.
Logics customize and guide your solution's interactions with users and help you define when, for whom, and what actions are delivered over the course of running your solution.
Affective Computing (powered by Virtue) enables you to create logic blueprints, in which you can create and manage the components of logics and define their relationships.
The structure of a logic includes the following components:
Activator
The recipient of the logic
Condition
Conditions for triggering the logic
Action
Actions delivered when the logic is executed
To understand the concept of logics in detail, see Logics.
You can use the endpoints in the logics collection to create and manage logics. You can do the following:
API request parameters
logicName
Name of the logic
logicIdid
Unique identifier of the logic
bluePrinting_logics_type_id
Unique identifier of the logic type
projectId
Unique identifier of the project to which the logic belongs.
Notes:
Whether or not you need to enter the project domain ID depends on your user account;
If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.
On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.
From the same tenant profile, you can manage several projects.
projectName
Name of the project
activatorIDActivatorIDactivator
Unique identifier of the logic activator
activatorName
Name of the logic activator
activator_Type
Unique identifier of the logic activator type
activator_TypeName
Name of the logic activator type
anchored
Indicates whether the logic should be used as-is or if it can be generatively improved by EDAA™, the underlying technology that powers affective computing
activator_Value
Value of the logic activator.
activator_Operator
Operator used to build the logic, such as >, <, =, <=, >=, and !=
project_Domain_Id
Unique identifier of the project's domain.
Note: Whether or not you need to enter the project domain ID depends on your user account;
If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.
On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.
This parameter can have the following values:
-1
No Domain
2
Security & Safety
3
Human wellbeing
4
Digital user experience
project_Function_Id
Unique identifier of the project's function based on the project's domain.
Note: Whether or not you need to enter the project function ID depends on your user account;
If you are working with a private solution, you might need to enter the project ID instead of the project domain ID.
On the other hand, if you are working with a public solution, you might need to enter the project domain and function ID.
This parameter can have the following values:
For No domain (when
project_Domain_Idis -1)
-1
No Function
-
For Security & Safety (when
project_Domain_Idis 2)
1
Anticipation of drivers' distraction
Imposed
2
Employees' malicious patterns prediction (i.e. security staff of jewellery, bank, etc.)
Free
3
Autonomous digital assistant to access and support safety & security operators duties
Imposed
4
Detection of potential user malicious psychological profile (i.e. before flight onboarding)
Free
For Human wellbeing (when
project_Domain_Idis 3)
5
Work out personalization
Free
6
High-performance athlete's training personalization
Imposed
7
Real-time and historical data of the psychological well being of the employee
Free
8
Users' psychological assessments in real-time (i.e. digital psychologist
Free
For Digital user experience (
project_Domain_Id is4)
9
Irony detection
Free
10
Music personalisation by emotions
Imposed
11
Marketplace recommendations
Free
12
Virtual soul recreation (i.e. personality) for bots and iNFT
Free
13
Neuro-architecture
Free
ConditionID
Unique identifier of the logic condition
logicConditionList
A list of all conditions in the logic.
logicActionList
A list of all the actions in the logic.
conditionActionList
A list of the conditions in the logic and their corresponding actions.
tenantId
Unique identifier of the tenant responsible for the project.
isLocked
Indicated whether the logic is locked by EDAA™.
destination_Entity_Id
The entity ID attached to the logic
Keyword
A pagination parameter that helps you filter results by specific keywords
Sorting
A parameter that enables you to sort the results by the term specified as its value
SkipCount
A pagination parameter that helps you define the number of results to skip (i.e. where to start counting) when returning results
MaxResultCount
A pagination parameter that helps you limit the number of results returned
logicTypeName
Name of the logic type
modifiedDate
Exact time and date of the logic's last update
createdByName
Name of the user who modified the logic
Last updated
Was this helpful?