LUIS has many features, but Stackchat's integration with LUIS takes advantage of the following features only: - intent detection - entity extraction - sentiment analysis
In order to connect LUIS to Stackchat, you will first need to create a LUIS account and then a new LUIS Agent.
Create your LUIS account, click My apps in the top navigation, and click Create New App to create your first agent.
Give your agent a name that matches your Stackchat bot's name for ease of understanding. Once your bot has been created, you will need your LUIS Application ID, Authoring Key, and Endpoint URL found in your LUIS agent's Manage settings to connect your bot to Stackchat.
To find the Application ID, click Manage at the top right of the screen of your LUIS agent. This will open the Application Information tab.
To find the Authoring Key and Endpoint URL, click Keys and Endpoints in the menu on the left.
Select the bot you wish to add the Cloud Configuration to and select Integrations. Click Add Integration at the upper right.
In the dialogue on the right, enter a name for your LUIS configuration and paste your Application ID, Authoring Key and Endpoint URL into their respective fields.
Your bot is now linked to a LUIS NLP Agent. These steps will need to be repeated for each LUIS Agent you wish to use in your bots.
Enabling Sentiment Analysis in Dialogflow
If you're using our Adobe Analytics Cloud Configuration, you may wish to enable sentiment analysis in LUIS so that you can report on your audience's sentiment.
Sentiment analysis allows Natural Language Processing to attempt to determine the user's attitude during interaction with your chatbot, and this feature is currently disabled by default in LUIS.
To enable it, return to Manage in your NLP agent and click Publish Settings in the menu on the left. Tick the box to enable sentiment analysis.
Once beta features are enabled, sentiment analysis data will be able to flow into Adobe Analytics and will appear in your Adobe Analytics Report Suite as Prop 11 (Sentiment Score), Prop 12 (Sentiment Magnitude), and Prop 24 (Sentiment Score Range).
At this time, there is no reason to enable this feature unless you are also using Adobe Analytics.