ડાઉનલોડ કરો આ ઓપન સોર્સ બોટ કાવ્ય કોમ્યુનિટી આવૃત્તિ અને સ્થાપિત બોટ કાવ્ય તમારા પોતાના સર્વર પર
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
જોવાઈ: 2065, આજે: 3, સપ્તાહ: 8, મહિને: 12
0 0 0.0/5