Template Solutions
Besides the Teneo Dialogue Resources, which are template solutions provided out-of-the-box by Teneo, custom template solutions can be created and made available in the New Solution dialogue by following the steps outlined in the following sections.
Building your own template solution allow to share useful data such as Flows, Language Objects, Entities and even Global Data such as Listeners, Scripts or Integrations which can be the baseline when starting developing new solutions and conversational AI applications.
Custom Template Solutions
The Teneo Platform allows to generate custom template solutions which can be made available on an environment and selected at solution creation.
The creation of custom template solutions is outlined below:
- [Solution developer] First, built a solution containing all the template data/functionalities (e.g., Flows, Language Objects, Scripts, etc.) which will be needed in any new solution created from this template
- Thoroughly test the solution to ensure the validity of the data
- Export the solution; note that export user permissions are needed
- [Teneo system administrator] On the Studio backend server for the account requiring this template:
a. Copy the exported .solution file(s) to the Teneo Studio backend server /templates folder
b. Any solution files located within this /templates folder are made immediately available in the New Solution dialogue within Teneo Studio without the need to restart the backend or even the frontend. - [Solution developer] Create a new solution on the account where the template solution was installed, in the New Solution dialogue, simply select the template under Create from Template
- Teneo Studio creates a new solution with all the content from the template solution and notifies the user once the new solution is ready.
/templates folder
Template solutions must be placed into the templates folder on the backend server. The location of this folder is defined in the teneo-studio.properties and by default is:
templates.directory=/var/local/teneo/studio/templates
This means that in a standard setup, the template solution files need to be located in: /var/local/teneo/studio/templates.
Any solution file located within the /templates folder are made available immediately in the New Solution dialogue without the need to restart the backend or the frontend.
Templates apply to all accounts belonging to the same environment; currently it is not possible to configure templates per account on a shared environment.