{"id":3269,"date":"2024-08-15T14:54:53","date_gmt":"2024-08-15T11:54:53","guid":{"rendered":"https:\/\/docs.unibell.tech\/?page_id=3269"},"modified":"2024-08-16T08:29:23","modified_gmt":"2024-08-16T05:29:23","slug":"var-processing","status":"publish","type":"page","link":"https:\/\/docs.unibell.tech\/?page_id=3269","title":{"rendered":"Var processing"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/08\/variable-processing-_1-1.png\"><img decoding=\"async\" width=\"109\" height=\"88\" src=\"https:\/\/docs.unibell.tech\/wp-content\/uploads\/2024\/08\/variable-processing-_1-1.png\" alt=\"\" class=\"wp-image-3425\"\/><\/a><\/figure>\n\n\n\n<p>This block is used to extract different types of data from a variable\u2019s value. The extraction method is similar to the \u2018Extract from the speech\u2019 mechanism used in the \u2018<a href=\"https:\/\/docs.unibell.tech\/?page_id=3254\" data-type=\"page\">Recognition<\/a>\u2019 block.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/var_processing.png\"><img decoding=\"async\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/07\/var_processing.png\" alt=\"\" class=\"wp-image-3667\"\/><\/a><\/figure>\n\n\n\n<h2 id=\"number\" class=\"anchor\">Number<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing1.png\"><img decoding=\"async\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing1.png\" alt=\"\" class=\"wp-image-3529\"\/><\/a><\/figure>\n\n\n\n<p>Extracts integers from a variable and stores them as a number.<\/p>\n\n\n\n<p>For example, if the user says: &#8220;I think the number 356 will do&#8221;.<\/p>\n\n\n\n<p>The program will extract the number and save it as &#8220;356&#8221;.<\/p>\n\n\n\n<p>Further additional operations are available:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing2.png\"><img decoding=\"async\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing2.png\" alt=\"\" class=\"wp-image-3530\"\/><\/a><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Randomization &#8211; creating random values;<\/li>\n\n\n\n<li>Increment &#8211; increases the value of a variable by one;<\/li>\n\n\n\n<li>Decrement &#8211; reduces the value of a variable by one;<\/li>\n\n\n\n<li>Increase by &#8211; increases the value of the variable by the number that will be entered when this operation is selected;<\/li>\n\n\n\n<li>Decrease by &#8211; decreases the value of the variable.<\/li>\n<\/ol>\n\n\n\n<h2 id=\"sequence_of_digits\" class=\"anchor\">Sequence of digits<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing3.png\"><img decoding=\"async\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/06\/var_processing3.png\" alt=\"\" class=\"wp-image-3531\"\/><\/a><\/figure>\n\n\n\n<p>Selects numbers from a variable and stores them as a sequence, which are separated by spaces.<\/p>\n\n\n\n<p>For example, if the subscriber says: \u201cI think one, or better two, or maybe three\u201d,<\/p>\n\n\n\n<p>The result will be written to the variable as: \u201c1 2 3&#8243;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This block is used to extract different types of data from a variable\u2019s value. The extraction method is similar to the \u2018Extract from the speech\u2019 mechanism used in the \u2018Recognition\u2019 block. Number Extracts integers from a variable and stores them as a number. For example, if the user says: &#8220;I think the number 356 will <a href=\"https:\/\/docs.unibell.tech\/?page_id=3269\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Var processing<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/scenario-personal.php","meta":{"footnotes":""},"class_list":["post-3269","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3269"}],"version-history":[{"count":3,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3269\/revisions"}],"predecessor-version":[{"id":3426,"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=\/wp\/v2\/pages\/3269\/revisions\/3426"}],"wp:attachment":[{"href":"https:\/\/docs.unibell.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}