Rejoignez Bot Libre du Partenaire et Filiale du programme et de soutenir notre gratuit plate-forme ouverte
Self, AIML, and scripting

"Are you still there?"

par aazxcqwe posté 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".

Cheers!


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: 1705, today: 2, week: 2, month: 12

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: 1813, today: 0, week: 0, month: 8

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: 1965, today: 1, week: 1, month: 8

Id: 828178
Posté: Mar 31 2015, 1:32
Réponses: 3
Vues: 1719, aujourd'hui: 1, semaine: 1, mois: 11
0 0 0.0/5