Did you know Bot Libre also provides free hosted live chat for your own website or mobile app?
Bot Libre Forum

i spy script problem

by bobred posted Aug 10 2017, 10:37

I spy script does not learn new objects and colors.does learning have to be enabled?it is for my sheila strong chatbot.


by admin posted Aug 10 2017, 12:41
No, do not enable learning.

At the start of the script it has,

function init() {
    { #data : #ispy, learn : true, safe: true }
    ....
}

This object configures if the script will learn new objects and colors.
By default it will learn, but is in "safe" mode, so only learns single verified words.
For it to verify words you must have Wiktionary enabled so it can confirm the object is a noun and the color is an adjective.

You can set safe to false to let it learn anything the user says, but be careful doing this as some users may enter offensive words.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1549, today: 1, week: 2, month: 8

Id: 18618514
Posted: Aug 10 2017, 10:37
Replies: 1
Views: 1549, today: 1, week: 5, month: 9
0 0 0.0/5