Nuwa TrainKit(トレーニングキット) Tutorial

This document provide step by step tutorial to setup a 3rd define intent for SDK CustomBehaver receive.

Nuwa Website

 

NUWA CustomBehavior Architecture

Design and Create your own behavior on Nuwa Robot is possible now.

CustomBehavior is realized as a plug-in of robot behavior system

add account

 

 

Register NUWA Account

use your email to register NUWA ACCOUNT

Please select region、fill email and agree NUWA LICENCE to start.

add account

Fill personal information.

fill data

register

Register finish and receive confirm mail.

Open confirm mail and click finish regster (Example from Gmail)

receive mail

confirm register

finish register

Create a project

After login TrainKit(トレーニングキット) Service, there is a empty workspace.

Step 1 : Select 新規プロジェクト作成 to create a new project.

new project

Setp 2 : Decided your own project name, and project language.

project name

Step 3 : Click project panel to start setup.

edit project

Setup Normal Speach response

Step 1 : Add a Q & A

Query (入力文)

Answer(応答文)

add new QA

Step 2 : Submit this Q & A

Press Add(追加) Button.

submit config

Then there is a popup message to notify add finished.

finish submit

If you want add several Q & A, repeat this step.

Setup Customize Intent(For SDK CustomBehavior)

Step 1 : Add a CustomBehavior Query String

For Example of NuwaCustomBehaviorExample2 on github.

Query (入力文)

Step 2 : Add notify data(JSON) as Answer

This JSON string will bypass to register BaseBehaviorService Service when Query String hit.

Answer(応答文)

add new QA

Mofigy A

Step 3 : Submit this Q & A

Press Add(追加) Button.

submit config

Then there is a popup message to notify add finished.

finish submit

Step 4 : Implement receive notify on 3rd BaseBehaviorService

When Query String hit, NUWA system will notify BaseBehaviorService via process(String parameter) callback.

finish submit

If you want add several Q & A, repeat this step.

Execute NUWA Brain Training

NUWA TrainKit(トレーニングキット) try to compute fuzzy linguistic from your Query to more sentence.

Press Train(トレーニング) to start compute.

train

After train finished, a message popup to notify.

Deploy project setting to target Robot

After setup your own user corpora, and had execute train.

We need deploy this user corpora to specific Robot device NUWA Brain.

Step 1 : Select Deploy(デプロイ) and fill your device Serial Number

deploy flow

You can find Serial Number on setting -> About Kebbi -> Serial Number

device SN

Step 2 : Press blue arrow to start deploy

deploy

After confirm Serial Number and bind device success. UI will change status.

deploy result

NOTICE : if you want to unbind device, just press Reset to unbind.