From cfbf2675aab3084983b61d3f162ecc0f9cd59d0d Mon Sep 17 00:00:00 2001 From: Dina Berry Date: Tue, 6 Mar 2018 13:18:02 -0800 Subject: [PATCH] fix import issue (#95) --- .../hotel-finder/csharp/LuisBot.json | 1 + .../hotel-finder/nodejs/LuisBot.json | 1 + examples/example-app-models/1.x/LuisBot.json | 228 ++++++++++++++++++ 3 files changed, 230 insertions(+) create mode 100644 examples/example-app-models/1.x/LuisBot.json diff --git a/bot-integration-samples/hotel-finder/csharp/LuisBot.json b/bot-integration-samples/hotel-finder/csharp/LuisBot.json index 4179b13..8432f80 100644 --- a/bot-integration-samples/hotel-finder/csharp/LuisBot.json +++ b/bot-integration-samples/hotel-finder/csharp/LuisBot.json @@ -1,6 +1,7 @@ { "luis_schema_version": "1.3.0", "name": "LuisBot", + "versionId": "0.1", "desc": "", "culture": "en-us", "intents": [ diff --git a/bot-integration-samples/hotel-finder/nodejs/LuisBot.json b/bot-integration-samples/hotel-finder/nodejs/LuisBot.json index 4179b13..8432f80 100644 --- a/bot-integration-samples/hotel-finder/nodejs/LuisBot.json +++ b/bot-integration-samples/hotel-finder/nodejs/LuisBot.json @@ -1,6 +1,7 @@ { "luis_schema_version": "1.3.0", "name": "LuisBot", + "versionId": "0.1", "desc": "", "culture": "en-us", "intents": [ diff --git a/examples/example-app-models/1.x/LuisBot.json b/examples/example-app-models/1.x/LuisBot.json new file mode 100644 index 0000000..4179b13 --- /dev/null +++ b/examples/example-app-models/1.x/LuisBot.json @@ -0,0 +1,228 @@ +{ + "luis_schema_version": "1.3.0", + "name": "LuisBot", + "desc": "", + "culture": "en-us", + "intents": [ + { + "name": "None" + }, + { + "name": "SearchHotels" + }, + { + "name": "ShowHotelsReviews" + }, + { + "name": "Help" + } + ], + "entities": [ + { + "name": "Hotel" + }, + { + "name": "AirportCode" + } + ], + "composites": [], + "closedLists": [], + "bing_entities": [ + "geography" + ], + "actions": [], + "model_features": [ + { + "name": "Near", + "mode": true, + "words": "near,around,close,nearby", + "activated": true + }, + { + "name": "Show", + "mode": true, + "words": "show,find,look,search", + "activated": true + } + ], + "regex_features": [ + { + "name": "AirportCodeRegex", + "pattern": "[a-z]{3}", + "activated": true + } + ], + "utterances": [ + { + "text": "look for hotels in miami", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "search for hotels in seattle", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "show me hotels in california", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "show me the reviews of the amazing bot resort", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 5, + "endPos": 8 + } + ] + }, + { + "text": "can i see the reviews of extended bot hotel?", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 6, + "endPos": 8 + } + ] + }, + { + "text": "find reviews of hotelxya", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 3, + "endPos": 3 + } + ] + }, + { + "text": "show me reviews of the amazing hotel", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 4, + "endPos": 6 + } + ] + }, + { + "text": "what can i do?", + "intent": "Help", + "entities": [] + }, + { + "text": "help me", + "intent": "Help", + "entities": [] + }, + { + "text": "what are the available options?", + "intent": "Help", + "entities": [] + }, + { + "text": "i need help", + "intent": "Help", + "entities": [] + }, + { + "text": "best hotels in seattle", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "hotels in los angeles", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "can you show me hotels from los angeles?", + "intent": "SearchHotels", + "entities": [] + }, + { + "text": "can you show me the reviews of the amazing resort & hotel", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 7, + "endPos": 11 + } + ] + }, + { + "text": "what are the reviews of the hotel bot framework?", + "intent": "ShowHotelsReviews", + "entities": [ + { + "entity": "Hotel", + "startPos": 5, + "endPos": 8 + } + ] + }, + { + "text": "find hotels near eze", + "intent": "SearchHotels", + "entities": [ + { + "entity": "AirportCode", + "startPos": 3, + "endPos": 3 + } + ] + }, + { + "text": "where can i stay near nnn?", + "intent": "SearchHotels", + "entities": [ + { + "entity": "AirportCode", + "startPos": 5, + "endPos": 5 + } + ] + }, + { + "text": "show hotels near att airport", + "intent": "SearchHotels", + "entities": [ + { + "entity": "AirportCode", + "startPos": 3, + "endPos": 3 + } + ] + }, + { + "text": "find hotels near agl", + "intent": "SearchHotels", + "entities": [ + { + "entity": "AirportCode", + "startPos": 3, + "endPos": 3 + } + ] + }, + { + "text": "find hotels around eze airport", + "intent": "SearchHotels", + "entities": [ + { + "entity": "AirportCode", + "startPos": 3, + "endPos": 3 + } + ] + } + ] +} \ No newline at end of file