<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aura – </title>
    <link>/docs/components/aura-bot-platform/aura-bot-processes/</link>
    <description>Recent content on Aura</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/docs/components/aura-bot-platform/aura-bot-processes/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: </title>
      <link>/docs/components/aura-bot-platform/aura-bot-processes/authentication/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/components/aura-bot-platform/aura-bot-processes/authentication/</guid>
      <description>
        
        
        &lt;h1 id=&#34;users-authentication&#34;&gt;Users authentication&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of users&amp;rsquo; authentication process in Aura Bot. Discover the different types of users and how they can authenticate in Aura&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; supports different &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/authentication/users-types/&#34;&gt;types of users&lt;/a&gt;, each of them with access to specific services and use cases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Authenticated users&lt;/li&gt;
&lt;li&gt;Anonymous users&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the authentication process, &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; carries out the following summarized steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Obtains information from the users&lt;/li&gt;
&lt;li&gt;Validates it&lt;/li&gt;
&lt;li&gt;If the validation is successful, and depending on the type of user, &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; allows accessing to different services&lt;/li&gt;
&lt;li&gt;Stores the user&amp;rsquo;s data&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The detailed process is described in &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/authentication/aura-authentication/&#34;&gt;users&amp;rsquo; authentication flow&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The authentication of a user implies the acceptance of &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/authentication/terms-and-conditions/&#34;&gt;Terms and Conditions&lt;/a&gt;, which are handled by &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;In certain scenarios (use cases) where the user is unauthenticated, it is required to redirect specific intents that need authentication. Find here the complete information regarding &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/authentication/redirect-dialog-to-login/&#34;&gt;login redirections&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/components/aura-bot-platform/aura-bot-processes/conversational-flow/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/components/aura-bot-platform/aura-bot-processes/conversational-flow/</guid>
      <description>
        
        
        &lt;h1 id=&#34;aura-bot-conversational-flow&#34;&gt;Aura Bot conversational flow&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;Description of users&amp;rsquo; authentication process in Aura Bot. Discover the different types of users and how they can authenticate in Aura.&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&#34;aura-conversational-process&#34;&gt;Aura conversational process&lt;/h2&gt;
&lt;p&gt;Once the user&amp;rsquo;s authentication is validated, &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; starts the message processing.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Firstly, all incoming message &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/middlewares/&#34;&gt;middlewares&lt;/a&gt; are executed, in the order established in the bot set-up.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Then, &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/recognizers/&#34;&gt;recognizers&lt;/a&gt; come into play in order to recognize the user&amp;rsquo;s intention.  &lt;br&gt;
Depending on the type of input message, the process is different. For instance, &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; is able to recognize the user&amp;rsquo;s intent itself if the message is an &lt;code&gt;auraCommand&lt;/code&gt; or requires summoning Aura Cognitive Services for this purpose.&lt;br&gt;
Recognizers are executed sequentially and, after one of them recognizes an intention, the rest are not executed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once the intent and entities are identified, the next step is to route the message to the dialog in charge of that intent for the current channel. This step is done by the &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/internal-dialogs/main-dialog/&#34;&gt;&lt;em&gt;&lt;strong&gt;main&lt;/strong&gt;&lt;/em&gt; dialog&lt;/a&gt;. This special and core dialog is responsible for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Getting the dialog that handles the recognized intent for the current channel. If it does not exist, an error is returned to the channel.&lt;/li&gt;
&lt;li&gt;Validating if the user&amp;rsquo;s context matches with the context filters configured in the selected dialog. If that is the case, then the context filter dialog is executed.&lt;/li&gt;
&lt;li&gt;Validating the authorization settings of the dialog to be executed with the AuraUser authentication model.
In the case of &lt;strong&gt;Kernel&lt;/strong&gt; authentication, it checks that the scopes and purposes of the user contain the mandatory ones to execute the dialog.&lt;br&gt;
This validation improves &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; performance, avoiding external requests to &lt;strong&gt;Kernel&lt;/strong&gt; that will return a permissions error. If the user is anonymous, this step is not executed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The specific dialog selected is started during one of the steps of the &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/internal-dialogs/main-dialog/&#34;&gt;&lt;em&gt;&lt;strong&gt;main&lt;/strong&gt;&lt;/em&gt; dialog&lt;/a&gt;, and thus the execution is now managed directly by that specific dialog.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The dialog must get the information needed to provide a proper response to the user through &lt;a href=&#34;../../../../docs/components/aura-nlp/&#34;&gt;Aura NLP&lt;/a&gt;, &lt;a href=&#34;../../../../docs/components/complex-logic-framework/&#34;&gt;Complex Logic API&lt;/a&gt; or &lt;strong&gt;Kernel&lt;/strong&gt; Telco APIs in order to generate the expected answer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The response is now ready to be provided to the user and will start its way through the outgoing &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/middlewares/&#34;&gt;middlewares&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After that, the execution flow continues to the next step of the &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-components/internal-dialogs/main-dialog/&#34;&gt;&lt;code&gt;MainDialog&lt;/code&gt;&lt;/a&gt;, that is checking whether or not the dialog must include suggestions.
To do so, it will check that the proper dialog settings are stored in the context. If suggestions are needed, the suggestions API will be called, the resulting activity will be prepared following the UX Guidelines.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the end, a complete response consisting of several ordered activities will be provided to the channel, that will read them from Direct Line and the result will be rendered to the user.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;conversational-process-flowchart&#34;&gt;Conversational process flowchart&lt;/h2&gt;
&lt;p&gt;The following flowchart schematically shows the components involved in the process.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/basic-aura-bot.png&#34; alt=&#34;Aura Bot scheme&#34;&gt;&lt;/p&gt;
&lt;p&gt;Check here the complete &lt;a href=&#34;../../../../docs/components/aura-bot-platform/#whats-aura-bot&#34;&gt;Aura Bot conversational process flowchart&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: </title>
      <link>/docs/components/aura-bot-platform/aura-bot-processes/channel-data/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/components/aura-bot-platform/aura-bot-processes/channel-data/</guid>
      <description>
        
        
        &lt;h1 id=&#34;aura-bot-channeldata&#34;&gt;Aura Bot channelData&lt;/h1&gt;


&lt;div class=&#34;pageinfo pageinfo-primary&#34;&gt;
&lt;p&gt;How Aura Bot manages the &lt;code&gt;channelData&lt;/code&gt; property used by Aura to define the Aura request-response semantic model&lt;/p&gt;

&lt;/div&gt;

&lt;p&gt;The current section details the management by &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt; skill of the &lt;code&gt;channelData&lt;/code&gt; property used by Aura to define the &lt;a href=&#34;../../../../docs/components/request-response-model/&#34;&gt;Aura Request – Response Semantic Model&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The Aura semantic application model defines a set of properties that can be used as secondary elements of the Microsoft Azure Bot Service and Bot Framework Activities property included in the application activities.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;channelData&lt;/code&gt; is an open field in the &lt;strong&gt;activity&lt;/strong&gt;, i.e., the message exchanged during a communication between a channel and a bot built on top of Microsoft Bot Framework, that is devoted to define the specific format of the request needed by the specific bot to provide a proper response to the channel and, thus, to the user.&lt;/p&gt;
&lt;p&gt;The current section will describe the specific  &lt;code&gt;channelData&lt;/code&gt; aspects related to &lt;em&gt;&lt;strong&gt;aura-bot&lt;/strong&gt;&lt;/em&gt;, such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How to handle the different &lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/channel-data/handle-channeldata-versions/&#34;&gt;&lt;code&gt;channelData&lt;/code&gt; versions&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/channel-data/channeldata-mapping/&#34;&gt;&lt;code&gt;channelData&lt;/code&gt; mapping&lt;/a&gt; in Aura response.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../docs/components/aura-bot-platform/aura-bot-processes/channel-data/channeldata-validation/&#34;&gt;&lt;code&gt;channelData&lt;/code&gt; validations&lt;/a&gt; in requests and responses.&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
