To follow this tutorial and build the Expenses Authorisation knowledge-base please log into your Viabl.ai platform. If you have no user account then please contact your Viabl.ai Platform administrator to set up your user account.
Each user has a pre-built Expenses Autorization application in their account that can be duplicated and used.
When a viabl.ai application is run, objects encountered during inference will prompt for an answer. In Chat or Dialog applications a user can answer these questions, but in a silent application these will need to be provided as inputs.
A knowledge author would need to look at all possible objects that could fall into this category and define the inputs. In this application these are:
A silent application essentially runs as an API, and it's also possible to define what is returned in the API JSON. To define what is seen in the JSON response the outputs can be defined.
For test purposes the outputs required are:
To define the Inputs & Outputs click on the small burger menu next to the name of the application in the top left of the page.
Use the same burger menu to firstly rename the application to "Process Expenses" and then edit the deployment targets so only Silent is selected.
As there is no user interaction with a silent application there is no need for reports, delete all reports from the tree:
There is a test page provided to test silent applications where the Inputs and Outputs are provided. This is only accessible through F9 and will also show a decision trace as to how the application was executed.