你知道机器人的自由,也提供免费的托管的 实时聊天 为自己的网站或移动应用程序?
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
的风景: 1426, 今天: 1, 周: 2, 一个月: 1
0 0 0.0/5