Atualize para nosso Diamond serviço e vai construir o seu próprio aplicativo para Android ou iOS
Self, AIML, and scripting

"Are you still there?"

por aazxcqwe postado 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: 1571, today: 0, week: 4, month: 7

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: 1678, today: 0, week: 3, month: 7

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: 1829, today: 0, week: 2, month: 5

Id: 828178
Postado: Mar 31 2015, 1:32
Respostas: 3
Pontos de vista: 1565, hoje: 1, semana: 3, mês: 6
0 0 0.0/5