升级到我们的 Platinum 服务和获得自己的设计定制的3D头像
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
的风景: 2076, 今天: 2, 周: 6, 一个月: 23
0 0 0.0/5