diff --git a/examples/simple-bot-example/FirstSimpleBotExample.json b/examples/simple-bot-example/FirstSimpleBotExample.json new file mode 100644 index 0000000..55f67e6 --- /dev/null +++ b/examples/simple-bot-example/FirstSimpleBotExample.json @@ -0,0 +1,299 @@ +{ + "luis_schema_version": "3.0.0", + "versionId": "0.1", + "name": "FirstSimpleBotExample", + "desc": "", + "culture": "en-us", + "intents": [ + { + "name": "Cancel" + }, + { + "name": "Greeting" + }, + { + "name": "Help" + }, + { + "name": "None" + }, + { + "name": "OrderFood" + }, + { + "name": "Weather", + "inherits": { + "domain_name": "Weather", + "model_name": "GetForecast" + } + } + ], + "entities": [ + { + "name": "Weather.Location", + "inherits": { + "domain_name": "Weather", + "model_name": "Location" + }, + "roles": [] + } + ], + "composites": [], + "closedLists": [], + "patternAnyEntities": [], + "regex_entities": [], + "prebuiltEntities": [ + { + "name": "datetimeV2", + "roles": [] + } + ], + "model_features": [], + "regex_features": [], + "patterns": [], + "utterances": [ + { + "text": "\" i need to know the temperature at bangor , sme \"", + "intent": "Weather", + "entities": [] + }, + { + "text": "available commands", + "intent": "Help", + "entities": [] + }, + { + "text": "can you help me", + "intent": "Help", + "entities": [] + }, + { + "text": "cancel", + "intent": "Cancel", + "entities": [] + }, + { + "text": "cancel my request", + "intent": "Cancel", + "entities": [] + }, + { + "text": "drive me home", + "intent": "None", + "entities": [] + }, + { + "text": "exit", + "intent": "Cancel", + "entities": [] + }, + { + "text": "forecast in celcius", + "intent": "Weather", + "entities": [] + }, + { + "text": "get the forcast for me", + "intent": "Weather", + "entities": [] + }, + { + "text": "give me a menu of options", + "intent": "Help", + "entities": [] + }, + { + "text": "hello", + "intent": "Greeting", + "entities": [] + }, + { + "text": "help me", + "intent": "Help", + "entities": [] + }, + { + "text": "hi", + "intent": "Greeting", + "entities": [] + }, + { + "text": "how are you", + "intent": "Greeting", + "entities": [] + }, + { + "text": "how does this work?", + "intent": "Help", + "entities": [] + }, + { + "text": "i need help here", + "intent": "Help", + "entities": [] + }, + { + "text": "i want a burger", + "intent": "OrderFood", + "entities": [] + }, + { + "text": "i want to end", + "intent": "Cancel", + "entities": [] + }, + { + "text": "i want to know the temperature at death valley", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 34, + "endPos": 45 + } + ] + }, + { + "text": "menu", + "intent": "Help", + "entities": [] + }, + { + "text": "options", + "intent": "Help", + "entities": [] + }, + { + "text": "order burger", + "intent": "OrderFood", + "entities": [] + }, + { + "text": "order burger 1pm", + "intent": "OrderFood", + "entities": [] + }, + { + "text": "order food today", + "intent": "OrderFood", + "entities": [] + }, + { + "text": "provide me by toronto weather please", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 14, + "endPos": 20 + } + ] + }, + { + "text": "quit", + "intent": "Cancel", + "entities": [] + }, + { + "text": "quit now", + "intent": "Cancel", + "entities": [] + }, + { + "text": "show me the forecast at alabama", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 24, + "endPos": 30 + } + ] + }, + { + "text": "soliciting today ' s weather", + "intent": "Weather", + "entities": [] + }, + { + "text": "what ' s the weather going to be like in hawaii ?", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 41, + "endPos": 46 + } + ] + }, + { + "text": "what do i do?", + "intent": "Help", + "entities": [] + }, + { + "text": "what is the weather in redmond ?", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 23, + "endPos": 29 + } + ] + }, + { + "text": "what is the weather today at 10 day durham ?", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 36, + "endPos": 41 + } + ] + }, + { + "text": "what will the weather be tomorrow in accord new york ?", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 37, + "endPos": 51 + } + ] + }, + { + "text": "what's the weather", + "intent": "Weather", + "entities": [] + }, + { + "text": "wikipedia carol king", + "intent": "None", + "entities": [] + }, + { + "text": "will it be raining in ranchi", + "intent": "Weather", + "entities": [ + { + "entity": "Weather.Location", + "startPos": 22, + "endPos": 27 + } + ] + }, + { + "text": "will it rain this weekend", + "intent": "Weather", + "entities": [] + }, + { + "text": "will it snow today", + "intent": "Weather", + "entities": [] + } + ] +} \ No newline at end of file diff --git a/examples/simple-bot-example/README.md b/examples/simple-bot-example/README.md new file mode 100644 index 0000000..43f992a --- /dev/null +++ b/examples/simple-bot-example/README.md @@ -0,0 +1,8 @@ +# Simple Bot Example + +These samples provide LUIS apps to demonstrate basic bot-building scenarios. You can import a LUIS app in [luis.ai][LUIS], in the **My apps** tab, click on the *Import new app* button and choose the JSON file for the app to import. + +## Examples + +* [Simple bot example](./FirstSimpleBotExample.json): This LUIS app has the following intents: Help, Cancel, None, Weather, OrderFood. It has the Weather.Location and datetimeV2 entities. +