更に当社の Platinum サービスして作り上げていきたいと思い自ボットのためにま
Bot Libre Dev : learn

RE: learn

による admin 掲載 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
掲載: Jan 14 2020, 8:26
回答: 0
眺望: 2723, 今日の: 5, 週間: 5, 月: 19
0 0 0.0/5