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..

Planning your bot
 
 

Hello,

I am in the process of writing my own bot but this is the first time I do it.

As a coder, the first thing I do is almost always write down on paper and before I write a single line of code.

but in programming you have a pretty good idea of going from A to B….

Here, you have no idea where things might go exactly…. There will clearly be a trial and error phase so how does the planning phase go for you and how do you factor this in??

 

 
  [ # 1 ]

Actually, you can write code that goes exactly where you want. However, it’s just the same as with regular coding, you may write bugs that have to be fixed. But your INTENT can be exact.

in your case, it sounds like you have a step by step procedure you want to tell the user. This is just a series of gambits in order in a topic. And there are questions you can answer, independent of that. So you write a bunch of responders in that topic (or other topics but lets assume that topic).  Then, with quibbles removed from the control script, you can know the flow of control is:

1. try to rejoinder on last thing said
2. try for responders in current topic…. we can actually change that to NAME the topic (~process) rather than even trust a notion of current topic.
3. try for responders in any other topic (not that you have any intended at present)
4. failing that, force a gambit from the ~process topic
5. failing that (meaning the process has been taught), do whatever you want to do.

Trial and error in this case is merely debugging that your responders and rejoinders correctly catch user responses or questions.  And figuring out what questions they might ask that you don’t yet handle (which is sort of trial and error by testing with naïve users).

 

 
  login or register to react