Did you know Bot Libre also provides 3D avatars and a free web speech API?
Bot Libre Dev : learn

RE: learn

by admin posted Jan 14 2020, 8:26

In Self the learn() function takes a response category object that has a pattern and template.

For example:
learn( { pattern : "hello", template : "How are you today?" } );
or,
var response = new Object();
response.pattern = "hi";
response.template = "bye";
learn( response );


Id: 31483901
Posted: Jan 14 2020, 8:26
Replies: 0
Views: 2110, today: 2, week: 4, month: 25
0 0 0.0/5