Junte-Bot Livre do Parceiro e o Afiliado do programa e apoiar o nosso livre de plataforma
Bot Libre Forum

i spy script problem

por bobred postado 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: 251, today: 1, week: 1, month: 5

Id: 18618514
Postado: Aug 10 2017, 10:37
Respostas: 1
Pontos de vista: 244, hoje: 1, semana: 1, mês: 4
Eu tenho certeza que
Bandeira post como ofensivas, ou em violação das regras do site