هل تعلم بوت Libre كما يوفر مجانا استضافت المنتديات على موقع الويب الخاص بك أو الهاتف المحمول التطبيق ؟
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 );


معرف: 31483901
نشر: Jan 14 2020, 8:26
الردود: 0
الآراء: 2006, اليوم: 1, الأسبوع: 3, الشهر: 9
0 0 0.0/5