Tokkio - Customization

A general outline of Tokkio pipeline is given in the Tokkio Architecture section. The reference application QSR related apps can be easily updated for quick customizations that the users can use to cater to their specific applications.

The table below shows a list of domain adaptations that can be done using Tokkio components.

Component

Customization supported

Vision AI

  • Enable/Disable vision AI

  • Parameters configurations

UI

  • Update/Create UI Layout

Speech

  • Finetune pitch, rate, prosody etc.

  • Switching to finetuned Riva TTS model

  • TTS custom voice model

Tokkio Bot

  • Responses FAQ, Fall back, Knowledge base etc

  • Avatar animations. Greetings, Customize triggers

  • Addition of zero-shot based new intents and dialog graph

  • Retrain NLP intent-slot model

  • Customization fulfillment handling

  • Building a bot from scratch

Reference App

  • Catalog (Menu) items and descriptions

  • UI/UX, Cart Manager, Fulfillment module

  • Menu schema

Avatar

  • Change properties of template avatars

  • Create a new avatar from scratch

This section describes various ways the reference application, as well as other microservices within Tokkio can be customized.

Customizing a microservice within Tokkio

As described in the Quickstart Guide, the Tokkio helm chart comprises various microservices. The versions of each of these microservices are mentioned in the tokkio-app.yaml.

If a newer version of a microservice that is used in Tokkio needs to be used in the deployment, please follow the steps listed in the Quick Start Guide section.

Note

For any microservice update, ensure that the endpoints the microservice is connected to are still valid or update them as necessary. One can use the UCS Studio for visualizing and connecting microservice endpoints easily.

Advanced Customization: Adding a new microservice to Tokkio

A new microservice can be added to Tokkio in order to impart a functionality furthermore to what is already available. Refer to UCS tool for creating and building a microservice.

Addition of a microservice to Tokkio pipeline can be done with careful consideration of the the endpoints that the microservice would interface with. One can use UCS Studio for visualizing and connecting microservice endpoints for the additional microservice.

Once the microservice is added to the Tokkio graph in UCS Studio, follow the Quickstart Guide to build and deploy the updated Tokkio app.

Hosting microservice & artifact

Upon updating an existing microservice or creating a new one, use the UCF local registry to host your service.

When a microservice is built it is automatically added to the local repository. The generated UCF Microservice Specification gets stored in this local repository.

It is up to the microservice developer on how/where the other artifacts like Models and Configurations are stored and retrieved during deployment.

Refer to UCS tool for more information

Vision AI Customization

Disable Vision AI section provides information regarding using Tokkio without vision AI

Face Detection and Tracking section provides information regarding the customizations for model and parameter configurations.

UI Customization

The Tokkio UI source code contains the UI components created for Tokkio Reference application of QSR. These components can be easily updated per user needs to have a customized layout and a corresponding backend.

UI Server provides information regarding sending a customized view to the UI via an API call, which will allow customized applications to be created quickly, without changing the UI source code.

Avatar and Avatar Scene Customization

Tokkio Avatar Customization section provides information on using different avatar and avatar scenes per your needs.