AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Creating first bot
 
 

Hello,
I am trying to code a bot that will guide someone through a process but I don’t know exactly what the user will do.

  I’d like it for the bot to return to the process if all questions have been exausted.
Is it possible to make it so if the user runs out of questions or say something unusual, the bot will offer a gambit in the order they have been written?

Also (more philosophical question), should I allow quibbles for my goals?
I taught about them but I taught it diverged too much from the subject matter.

 

 
  [ # 1 ]

I tried to just put gambits but they just seem to fire off in a random order.

 

 
  [ # 2 ]

Hello Guanzhou Li

What platform are you using?

Your question seems to be a bit technical, so it might be platform dependent. So all I think one could answer you here is rather general.

In this case, I think I’d use variables for the positions in the process, in the question list, and in the sub-question list.

The only chatbot platform I’m familiar with so far is the Personality Forge. If you’d start a bot there, we’d be more than happy to pilot you round the cliffs. I’m sure so will be the members of other platforms’ forums.

Whether to use quibbles, well, I’d say that depends very much on your bot’s audience and what your bot is meant to provide.

 

 
  [ # 3 ]

Hello, I am using chatscript.

 

 
  [ # 4 ]

if you are trying to teach a process, then you don’t want quibbles.  Comment out the line in the control script that accesses quibbles.  if your process topic is called ~process, then in stead in the control script, put

if (%response == 0) {gambit(~process)}

This will walk the gambits in order of that topic.

 

 
  [ # 5 ]

thanks Bruce I will try it…

 

 
  login or register to react