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

flow diagram for processing ChatScript
 
 

Hi there,

I am new here.
As you can see, this is my first message on this board.

Past few days I read several documents about ChatScript with great interest. To understand better the matching process, it would be nice if there is a flow diagram (in pdf for example). What steps are done at what time and how they are connected. Maybe even loops there.

Does anyone have such a flow chart?

Best Regards,
Jack

 

 
  [ # 1 ]

Not really. People can write their own control scripts, which change to flow of control….

Here is the flow that ships as Harry, which is ROUGHLY a good flow (with various embellishments possible).

The general rule is the system will execute rules until one generates output.

Rules for matching within a topic in responder mode:
1. execute rules first to last.
2. if they are gambits, ignore them
3. if any element of their pattern fails to match, ignore it
4. if a matching rule is found, execute it. If it generates output, stop.


Overall flow of Harry Control


1. Does input match rejoinder of most recent output?  ->  execute rejoinder

2. Match in responder mode current topic

3. Match in responder mode any other topic with keywords matching input

4. 50% of the time, match in responder mode all quibble topics

5. execute next available gambit in current topic if keywords match on topic

6. execute next available gambit on any topic with matching keywords

7. execute next available gambit from any topic at random

 

 
  login or register to react