{"id":1207,"date":"2022-12-02T11:38:39","date_gmt":"2022-12-02T11:38:39","guid":{"rendered":"https:\/\/turbopowers.com\/kbx\/knowledgebase\/examples\/"},"modified":"2024-09-18T11:01:13","modified_gmt":"2024-09-18T11:01:13","slug":"examples","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/turbopowers.com\/kbx\/knowledgebase\/examples\/","title":{"rendered":"Examples"},"content":{"rendered":"<div id=\"kbx_toc_container\" class=\"kbx_toc_basic no_bullets\"><p class=\"kbx_toc_title\">Table of Contents<\/p><ul class=\"kbx_toc_list\"><li><a href=\"#examples\"><span class=\"kbx_toc_number kbx_toc_depth_1\">1<\/span> Examples<\/a><\/li><li><a href=\"#basic-str\"><span class=\"kbx_toc_number kbx_toc_depth_1\">2<\/span> Basic STR<\/a><\/li><li><a href=\"#str-intent-chaining\"><span class=\"kbx_toc_number kbx_toc_depth_1\">3<\/span> STR Intent Chaining<\/a><\/li><li><a href=\"#str-intent-chaining-based-on-user-input\"><span class=\"kbx_toc_number kbx_toc_depth_1\">4<\/span> STR Intent Chaining Based on User Input<\/a><\/li><li><a href=\"#str-with-an-entity\"><span class=\"kbx_toc_number kbx_toc_depth_1\">5<\/span> STR with an Entity<\/a><\/li><\/ul><\/div>\n<section class=\"js-section\">\n<h3 class=\"section__title\"><span id=\"examples\">Examples<\/span><\/h3>\n<p>    Here you will find some examples that will help you to get started with creating different types of STR<\/p>\n<\/section>\n<hr \/>\n<section class=\"js-section\">\n<h3 class=\"section__title\"><span id=\"basic-str\">Basic STR<\/span><\/h3>\n<p>    This is very basic setup of a STR. When user\\&#8217;s query is matched then chatbot will show the particular response for that query you have set. Also you can send a followup message to the chatbot user. See the screenshot below<\/p>\n<p>    <img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/basic-str.png\" alt=\"\" width=\"2368\" height=\"5641\" \/><\/p>\n<p>    See how the chatbot response will look like on the frontend.<\/p>\n<p>    <img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/basic-str-front.png\" alt=\"\" width=\"1150\" height=\"1032\" \/><\/p>\n<h3 class=\"section__title\"><span id=\"str-intent-chaining\">STR Intent Chaining<\/span><\/h3>\n<p>    In this example we will show how you can chain multiple STR intent to create like a conversation. Please see the screenshots below and create a STR this like.<\/p>\n<p>    <img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/chaining-example.png\" alt=\"\" width=\"2412\" height=\"5683\" \/><\/p>\n<p>    Then you can link this STR with the previous STR that you created. See the screenshot below<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/chaining-example2.png\" alt=\"\" width=\"2430\" height=\"5671\" \/><\/p>\n<p>    See how the chatbot response will look like on the frontend.<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/chaining-example-front.png\" alt=\"\" width=\"972\" height=\"1066\" \/><\/p>\n<h3 class=\"section__title\"><span id=\"str-intent-chaining-based-on-user-input\">STR Intent Chaining Based on User Input<\/span><\/h3>\n<p>    We will use the previous STR to chain intent based on user response. See the screenshot below.<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/chaining-user-response.png\" alt=\"\" width=\"2402\" height=\"5679\" \/><\/p>\n<p>    See how the chatbot response will look like on the frontend.<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/chaining-user-response2.png\" alt=\"\" width=\"1042\" height=\"1102\" \/><\/p>\n<h3 class=\"section__title\"><span id=\"str-with-an-entity\">STR with an Entity<\/span><\/h3>\n<p>    In this example, we will show you how you can use the entity feature with STR. Please see the screenshot of first STR. In this feedback intent, We are collecting the name of the user via entity @name and chain it with other STR when user\\&#8217;s answer is matched.<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/entity.png\" alt=\"\" width=\"2410\" height=\"5681\" \/><\/p>\n<p>    In second STR, you will see how we can use the previous STR entity value. You need to use a placeholder in response like @name{id-of-the-previous-str-where-the-@name-is-collected}<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/entity2.png\" alt=\"\" width=\"2410\" height=\"5679\" \/><\/p>\n<p>    See how it works on the frontend.<\/p>\n<p>    <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/turbopowers.com\/kbx\/wp-content\/uploads\/2022\/12\/entity3.png\" alt=\"\" width=\"1040\" height=\"1092\" \/><\/p>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>Table of Contents1 Examples2 Basic STR3 STR Intent Chaining4 STR Intent Chaining Based on User Input5 STR with an Entity Examples Here you will find some examples that will help you to get started with creating different types of STR Basic STR This is very basic setup of a STR. When user\\&#8217;s query is matched [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1313,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[22],"kbx_tag":[],"class_list":["post-1207","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","has-post-thumbnail","hentry","kbx_category-simple-text-response"],"_links":{"self":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/comments?post=1207"}],"version-history":[{"count":0,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_knowledgebase\/1207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/media\/1313"}],"wp:attachment":[{"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/media?parent=1207"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_category?post=1207"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/turbopowers.com\/kbx\/wp-json\/wp\/v2\/kbx_tag?post=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}