{"id":2805,"date":"2023-01-18T15:19:39","date_gmt":"2023-01-18T14:19:39","guid":{"rendered":"https:\/\/botnation.ai\/exit-keywords-in-nlp-or-priority-keywords\/"},"modified":"2026-01-02T15:27:54","modified_gmt":"2026-01-02T14:27:54","slug":"exit-keywords-in-nlp-or-priority-keywords","status":"publish","type":"support","link":"https:\/\/botnation.ai\/en\/support\/exit-keywords-in-nlp-or-priority-keywords\/","title":{"rendered":"Exit keywords in NLP (or Priority keywords)"},"content":{"rendered":"<p>Management of \u201cExit Keywords\u201d in NLP<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>   <em>FIND A NEW VERSION OF THE COMPLETE GUIDE ON<\/em> <\/strong> <strong>   <em>the AI NLP BOTNATION <a href=\"https:\/\/botnation.ai\/en\/all-you-need-to-know-about-artificial-intelligence-on-botnation-table-of-contents\/\">by CLICKING HERE<\/a><\/em> <\/strong><\/p>\n\n\n\n<p>It is now possible to add \u201cexit keywords\u201d in the <a href=\"https:\/\/botnation.ai\/support\/fr\/tout-ce-quil-faut-savoir-a-propos-de-lintelligence-artificielle-sur-botnation-les-fonctionnalites-elementaires\/\">AI \u2013 NLP<\/a> rules by preceding them with an _ (underscore).<br><br>Example: _menu<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why?<\/h3>\n\n\n\n<p>If you are managing a scrim on cars with a context by brand.<br>In the context \u201cNerault\u201d you need rules like \u201cbreakdown\u201d, \u201cmaintenance\u201d but also on the brand \u201cTiaf\u201d to change context if needed.<\/p>\n\n\n\n<p>If the user indicates in the \u201cNerault\u201d context: \u201cotherwise I also have a Tiaf but it is broken down\u201d, the expression \u201cbroken down\u201d is likely to take over because it is certainly more popular in this context whereas the user should be sent to the context linked to the manufacturer \u201cTiaf\u201d.<\/p>\n\n\n\n<p>The solution so far: the negative keywords \u201cbreakdown -tiaf -geupeot -dorf -kosda -etc.\u201d. A nightmare for the chatbot designer and it is to be expected for every expression in all the contexts of the brands or all the expressions composed on all the other manufacturers \u201cbreakdown Tiaf\u201d \u201crepair Kosda\u201d \u201cmaintenance Dorf\u201d \u2026 Even an Excel formula will have trouble generating all the combinations to be imported.<\/p>\n\n\n\n<p>Now you only need to add ONE rule containing simply : _tiaf<\/p>\n\n\n\n<p>\u201cDo you have any tips for a broken down Tiaf?\u201d<\/p>\n\n\n\n<p>The outgoing keyword \u201c_Tiaf\u201d will have priority and will immediately force an exit to the destination sequence which can change the <a href=\"https:\/\/botnation.ai\/fr\/support\/introduction-au-contexte\/\">context<\/a> user on the way if needed.<\/p>\n\n\n\n<p>\u201c<strong>Faster than light!<\/strong> <\/p>\n\n\n\n<p>It is possible to add \u201cexit keywords\u201d at will and not necessarily in a context, it can also be in the general context and in this case the interest is to have words that necessarily take over the others if they are in competition during a treatment.<br><br><strong>Warning:<\/strong> No vehicles were abused during the development of this feature and any resemblance to existing or former car manufacturers would be purely coincidental.  <\/p>\n\n\n\n<p><strong>In addition:<\/strong><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/negative-expressions\/\">Keywords and Expressions<\/a><br>\u2013<a href=\"https:\/\/botnation.ai\/en\/exit-keywords-in-nlp-or-priority-keywords\/\"> Exit keywords<\/a><br>\u2013 <a href=\"https:\/\/botnation.ai\/en\/all-you-need-to-know-about-artificial-intelligence-on-botnation-table-of-contents\/\">All you need to know about NLP on Botnation<\/a><\/p>\n\n\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false},"categorie-support":[194,221],"class_list":["post-2805","support","type-support","status-publish","hentry","categorie-support-features","categorie-support-web-chatbot-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support\/2805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/support"}],"about":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/types\/support"}],"wp:attachment":[{"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/media?parent=2805"}],"wp:term":[{"taxonomy":"categorie-support","embeddable":true,"href":"https:\/\/botnation.ai\/en\/wp-json\/wp\/v2\/categorie-support?post=2805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}