What are keywords?
You can add keywords to a response from the Training & Chat Logs page in your bot's Admin Console.
A keyword is an important word in the question for a specific response.Example:
question: Do you like hockey? response: Hockey is my favorite sport. keywords: hockey question: I love spinach. response: Spinach is is my favorite food. keywords: spinach
A keyword will be used by the bot to select the best response. Keywords let some words count for more than other words. For example, suppose the bot knew two responses to similar questions, in general it will select the best response by which question best matches the current question.Example:
question: I love hockey
Normally the bot would probably match this question with "I love spinach", but since hockey is a keyword, it will instead match it with "Do you like hockey?".
If the response has no defined required words, then one of the keywords will also be required for the response match. So "I love hockey" would not be matched with "I love spinach." because it is missing the keyword.
Be careful using too many keywords. If every word is a keyword, then their value is diminished. Never make common words like "the", "a", "he", "what" keywords, if you require one of these words for a match use a required word instead.
You can even add keywords to a match that are not in the original question.Example:
question: What color do you like? keywords: color colour colors colours collor
This can be useful for adding multiple spellings or verb tenses. If the question contains any of the keywords it will be considered a potential match. If a response should require more than one word for a match, use required words, not keywords.