Upgrade to our Platinum service and get your own custom designed 3D avatar
Bot Libre Dev : learn

RE: learn

by admin posted Jan 14, 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?" } );
var response = new Object();
response.pattern = "hi";
response.template = "bye";
learn( response );

Id: 31483901
Posted: Jan 14, 8:26
Replies: 0
Views: 374, today: 1, week: 3, month: 111
I'm sure
Flag post as offensive, or in violation of site rules