Скачать открытый исходный код бота Либре общий выпуск и установите бот Libre на свой собственный сервер
Self, AIML, and scripting

"Are you still there?"

по aazxcqwe опубликовано Mar 31 2015, 1:32

Hello again, (nice new editor!)

Is there a way I can program the bot to say something after a certain time period? I realize this might add a whole other dimension, but I've been looking at bot features, and this type of user engagement has a lot of weight. Alternatively, is there a timer tool I could say "ask again in five minutes".


by admin posted Mar 31 2015, 7:37
I think that would be something you would want to handle in your client, as through most interfaces the server would not be able to initiate a conversation with a client. It may be possible through the live chat socket interface, but not through the web or API interface.

If you client is JavaScript or Java it would be easy to setup a timer to execute after 5 minutes of inactivity and send the bot either a empty message to trigger its greeting, or a message that you have defined a "Are you still there?" response to.

We could add something like that to our JavaScript SDK if you think it would be useful.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1399, today: 0, week: 0, month: 1

by aazxcqwe posted Apr 1 2015, 13:44

Great, thanks that works.

By the way, what does it mean when the bot says "I'm consciousness. I'm alive. I'm test123b."? Especially, when I have all Learning options disabled.

I know it's April Fools Day, but that's a little unusual.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1486, today: 0, week: 0, month: 3

by admin posted Apr 1 2015, 15:42

You can disable self awareness from the Learning page.  Its seems when it is enabled for one bot right now, it infects all other bots.  But if you disable it for one, it will disable it for all of them.

It should go away by tomorrow.

Updated: Apr 1 2015, 16:16
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1635, today: 1, week: 2, month: 4

Идентификатор: 828178
Опубликовано: Mar 31 2015, 1:32
Ответы: 3
Вид: 1392, сегодня: 1, неделю: 1, месяц: 3
0 0 0.0/5