Did you know Bot Libre also provides 3D avatars and a free web speech API?
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: 1569, today: 0, week: 0, month: 28

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