<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abhishek Raj Simon</title>
    <description>The latest articles on DEV Community by Abhishek Raj Simon (@abhisheksimon).</description>
    <link>https://dev.to/abhisheksimon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F148893%2F780d81c3-4e0b-42af-b034-094edc489cf0.jpg</url>
      <title>DEV Community: Abhishek Raj Simon</title>
      <link>https://dev.to/abhisheksimon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abhisheksimon"/>
    <language>en</language>
    <item>
      <title>Chatbot Terminology</title>
      <dc:creator>Abhishek Raj Simon</dc:creator>
      <pubDate>Thu, 20 May 2021 19:24:40 +0000</pubDate>
      <link>https://dev.to/abhisheksimon/chatbot-terminology-a1e</link>
      <guid>https://dev.to/abhisheksimon/chatbot-terminology-a1e</guid>
      <description>&lt;p&gt;Ever read an article that made you switch to Google and search for that secret programming word or jargon? Like you have no clue what the author is talking about in his post. This happened to me when I started coding my first &lt;a href="https://www.amazon.com/Aabingunz-Rajinikanth-Fact/dp/B0721HQF9C"&gt;Amazon Alexa Skill&lt;/a&gt;. If you are also one of those guys who is getting started with conversational AI, then this short read can be very useful to you. This post will help you understand the chatbot terminology in general that you will encounter in chatbot development, like &lt;a href="https://botpress.com/"&gt;Botpress&lt;/a&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chatbot&lt;/strong&gt;: A software application that mimics a human in terms of written or spoken language to simulate a human-like conversation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chatbot Builder&lt;/strong&gt;: It's a platform or suite that can be used to build a chatbot with or without minimal coding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Channel&lt;/strong&gt;: It's a medium on which the chatbot is hooked to. 
Example: Whatsapp, Facebook Messenger, Slack, Microsoft Teams, Website, etc.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI&lt;/strong&gt;: Artificial Intelligence means simulation of human intelligence in machines that are programmed to think and act like humans and mimic their actions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ML&lt;/strong&gt;: Machine Learning is a part of AI. Machine learning algorithms build a model based on sample data, known as "training data", in order to make predictions or decisions without being explicitly programmed to do so.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NLU&lt;/strong&gt;: Natural Language Understanding is a branch of AI (Artificial Intelligence) that transforms human language into a meaningful context that a machine can understand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Intent&lt;/strong&gt;: It signifies what the user wants to accomplish. 
Example: I want to book a flight.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entities&lt;/strong&gt;: It's a variable that complements the intent. 
Example: I want to book a flight from Montreal to Paris / Cities are entities because they are variables that can be extracted from the intent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slots&lt;/strong&gt;: When you create an intent, you can tag different slots that can be used to extract the information required to act on the intent successfully. 
Example: I want to book a flight from New York to San Francisco for tomorrow. Your slots are the departing city, New York, the arrival city, San Francisco, and the date of departure, tomorrow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Utterances&lt;/strong&gt;: They represent the different ways an intent can be written by a user. It can take the form of a question, a command, or a statement. 
Example: Can you book me a flight?
Book flight.
I want to book a flight.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flow&lt;/strong&gt;: A series of logical steps put together to help a user to accomplish a goal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node&lt;/strong&gt;: A step in a flow. They can be used to say something, to execute an action, to transition based on conditions, and more.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start Node&lt;/strong&gt;: The node where the flow begins. It's the first step of a user.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On enter&lt;/strong&gt;: This is what happens when the user enters a node.
Transition: This is composed of a condition and an action to be executed if the condition is met.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On receive&lt;/strong&gt;: Action that happens after the user has said something&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I hope this post on Chatbot Terminology will help you in your conversational AI journey.&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://aabingunz.com"&gt;https://aabingunz.com&lt;/a&gt; on May 21, 2021.&lt;/p&gt;

</description>
      <category>botpress</category>
      <category>chatbots</category>
      <category>bot</category>
    </item>
    <item>
      <title>How to embed and test a Botpress bot on any website?</title>
      <dc:creator>Abhishek Raj Simon</dc:creator>
      <pubDate>Fri, 19 Feb 2021 05:57:16 +0000</pubDate>
      <link>https://dev.to/abhisheksimon/how-to-embed-and-test-a-botpress-bot-on-any-website-4kj3</link>
      <guid>https://dev.to/abhisheksimon/how-to-embed-and-test-a-botpress-bot-on-any-website-4kj3</guid>
      <description>&lt;p&gt;&lt;a href="https://youtu.be/prd5Y8fLJiI"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--RW84FBjG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/http://img.youtube.com/vi/prd5Y8fLJiI/0.jpg" alt="How to embed and test a Botpress bot on any website?&amp;lt;br&amp;gt;
"&gt;&lt;/a&gt;&lt;br&gt;
You have created your Botpress bot and now you want to visualize it on your production website, but without exposing it to your customers. How can we achieve this? In this post we will see how to embed and test a Botpress bot on any website.&lt;/p&gt;

&lt;p&gt;We will use a similar script which we discussed in &lt;a href="https://aabingunz.com/botpress-chat-widget-to-your-website/"&gt;one of my previous&lt;/a&gt; posts, but this time we will use it along with &lt;a href="https://www.tampermonkey.net/"&gt;Tampermonkey&lt;/a&gt;, a tool to manage your user scripts and run scripts on the active website. &lt;/p&gt;

&lt;p&gt;I will use &lt;a href="https://www.google.com/chrome/"&gt;Google Chrome&lt;/a&gt; &lt;a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en"&gt;Tampermonkey extension&lt;/a&gt; to store my embed script. Please follow the below steps&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install the Tampermonkey Google Chrome extension using your chrome browser&lt;/li&gt;
&lt;li&gt;Once installed it should appear on your chrome toolbar&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UxN9BbiV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UxN9BbiV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image.png" alt="Tampermonkey icon on Google Chrome toolbar" class="wp-image-2112"&gt;&lt;/a&gt;Tampermonkey icon on Google Chrome toolbar&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Open any desired website, click on the tampermonkey icon and then "Create a new script..." from the dropdown menu.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QyJsFNcG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QyJsFNcG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-2.png" alt="" class="wp-image-2114"&gt;&lt;/a&gt;Create a new script in Tampermonkey&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;It should open a new tab where we will write our Botpress embed script. Please ensure that &lt;a class="comment-mentioned-user" href="https://dev.to/match"&gt;@match&lt;/a&gt;
 points to the website on which you want to embed your bot. In my example I am using &lt;a href="https://aabingunz.com"&gt;https://aabingunz.com&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bzqqALvE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bzqqALvE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-3.png" alt="" class="wp-image-2115"&gt;&lt;/a&gt;Tampermonkey user script template for the active website&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Replace your bot id and bots host port details in below snippet and paste this snippet below "//Your code here...". &lt;strong&gt;Note&lt;/strong&gt;: Your bot must be served over HTTPs. Please check &lt;a href="https://aabingunz.com/how-to-enable-https-in-botpress/"&gt;How to enable HTTPS in Botpress?&lt;/a&gt; tutorial for enabling HTTPs on your Botpress bot.&lt;/li&gt;&lt;/ul&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;script&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;createElement&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;script&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;text/javascript&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;src&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/assets/modules/channel-web/inject.js&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;getElementsByTagName&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;head&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nx"&gt;appendChild&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;onload&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;botpressWebChat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;init&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
            &lt;span class="na"&gt;host&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="na"&gt;botId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;&amp;lt;botid&amp;gt;&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="na"&gt;extraStylesheet&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/assets/modules/channel-web/custom-style.css&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
        &lt;span class="p"&gt;});&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;&lt;li&gt;Save your script and enable your script by toggeling "Enabled" switch in Tampermonkey&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SgvvvuHf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-4-1024x178.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SgvvvuHf--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-4-1024x178.png" alt="Tampermonkey saved scripts" class="wp-image-2119" title="Tampermonkey saved scripts"&gt;&lt;/a&gt;My saved scripts in Tampermonkey&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Now open &lt;a href="https://aabingunz.com"&gt;https://aabingunz.com&lt;/a&gt; or whatever website you configured. You should be able to see and test your bot.&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YHjxzQDy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YHjxzQDy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://aabingunz.com/wp-content/uploads/2020/04/image-5.png" alt="" class="wp-image-2120"&gt;&lt;/a&gt;Ensure that you see a 1 notification on Tampermonkey icon&lt;/p&gt;

&lt;p&gt;That's it. This is how we embed and test a Botpress bot on any website. Let me know in comments what other cool things you can accomplish using Tampermonkey.&lt;/p&gt;

&lt;p&gt;This article was first posted on &lt;a href="https://www.aabingunz.com"&gt;https://www.aabingunz.com&lt;/a&gt;. &lt;a href="https://aabingunz.com/how-to-embed-and-test-a-botpress-bot-on-any-website/"&gt;Click me&lt;/a&gt; to read from the author’s blog and find more Botpress tips and tricks on my &lt;a href="https://aabingunz.com/category/botpress/"&gt;blog&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>botpress</category>
      <category>hack</category>
      <category>tampermonkey</category>
      <category>chatbot</category>
    </item>
  </channel>
</rss>
