Connectors
Ari is designed to be easily extensible. It can easily learn how to accomplish new tasks by connecting to a new application. It does this by using a special glue layer called a "connector". A connector to an application basically describes what functions the application can call and what the parameters are. Each function provides the following:
- name -> name of the function.
- description -> description of what the function does and additional instructions.
- parameters -> a JSON schema definition of the parameters as a JSON object.
Example:
{
"type": "object",
"properties": {
"percentage": {
"type": "integer",
"description": "The percentage to set the luminosity of the screen to.",
"minimum": 0,
"maximum": 100,
"default": 70
}
},
"required": [
"percentage"
]
}
Depending on the type of application we want to connect to with we have 2 categories
- App Connectors -> for applications running on the device
- Web Connectors -> for applications running on the web