Introduction

Message processing

when kindly receives a message from a user it is scored and matched with a dialogue, in order, by the following four steps kindly replies with the dialogue having the highest score each bot has a predefined confidence threshold, which decides the minimum score a message needs for a dialogue to match and not go to fallback patterns if the message matches a pattern, the pattern dialogue is sent as the reply exact keywords if the message matches a keyword in a keyword dialogue exactly, the keyword dialogue is sent as the reply intents if the message score from the nlp pipeline for a dialogue is above the bot's confidence threshold, the sample dialogue is sent as the reply partial keywords if a keyword in a keyword dialogue is somewhere in the message (substring match), the keyword dialogue is sent as the reply fallback if the message does not match any of the available dialogues, it triggers a fallback dialogue