Challenge 2 - Create LUIS Intents to direct conversations
< Previous Challenge - Home - Next Challenge>
Introduction
We are going to build out a LUIS triggered dialog flow to help answer the current stock price, we’ll implement returning the actual price in the next challenge. For now we are just going to recognize that the utterance is Stock based and pull out the Ticker Symbol entity that is included in the utterance. Below goes into more depth.
- This intent needs to recognize when a Stock Price question is asked. So it should recognize questions like
- What is the MSFT stock today?
- Get me the stock price of TSLA
- Provide me with more information on the stock opening price for AAPL
- We also want to pull out the entity information for the Ticker Symbol in each utterance, in the above examples the entities we would pull out would be: MSFT, TSLA, and AAPL
Description
- Add a new trigger by Intent for recognizing Stock Price questions
- Train your LUIS model with trigger phrases to recognize the intent and entities.
-
Add dialog in this trigger action to print back out the stock that they are asking for, we will add additional functionality in future challenges. The flow of the Bot should essentially look like this to the user:
- Test your bot locally with unknown phrases and entities
Success Criteria
- The bot runs without errors in the Bot Framework Emulator
- The bot can recognize when the utterance has a StockPrice intent and triggers the correct conversational flow
- You bot returns the correct Stock Ticker price when it is responding.
Resources
Next Challenge - Make API Calls from your Bot >