tock / ai.tock.bot.engine.nlp / NlpListener / handleKeyword

handleKeyword

open fun handleKeyword(sentence: String): Intent? (source)

Used to handle "secret" keywords.

Return
null if no keyword is detected. If not null the nlp call is not started and the returned intent is used.