Dołącz do BOT Libre u partnera i partnerski program i wspierać naszą darmową, otwartą platformę
Bot Libre Forum

i spy script problem

w bobred wysłany 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: 1571, today: 2, week: 2, month: 30

Identyfikator: 18618514
Wysłany: Aug 10 2017, 10:37
Odpowiedzi: 1
Widok: 1568, dziś: 2, tydzień: 4, miesiąc: 28
0 0 0.0/5