Aktualizacja Platinum obsługa i zbudujmy swój bot do ciebie
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: 1469, today: 0, week: 0, month: 11

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