diff --git a/AzureBot.ConsoleConversation/App.config b/AzureBot.ConsoleConversation/App.config index b1b0c73..64cd410 100644 --- a/AzureBot.ConsoleConversation/App.config +++ b/AzureBot.ConsoleConversation/App.config @@ -2,12 +2,12 @@ - - + + - + - + diff --git a/AzureBot.ConsoleConversation/AzureBot.Tests.ConsoleConversation.csproj b/AzureBot.ConsoleConversation/AzureBot.Tests.ConsoleConversation.csproj index 691617b..5f61fa2 100644 --- a/AzureBot.ConsoleConversation/AzureBot.Tests.ConsoleConversation.csproj +++ b/AzureBot.ConsoleConversation/AzureBot.Tests.ConsoleConversation.csproj @@ -35,15 +35,15 @@ - ..\packages\Microsoft.Bot.Connector.DirectLine.3.0.0-beta\lib\net45\Microsoft.Bot.Connector.DirectLine.dll + ..\packages\Microsoft.Bot.Connector.DirectLine.3.0.0\lib\net45\Microsoft.Bot.Connector.DirectLine.dll True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.4\lib\net45\Microsoft.Rest.ClientRuntime.dll True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot.ConsoleConversation/Program.cs b/AzureBot.ConsoleConversation/Program.cs index 7444f11..ef73859 100644 --- a/AzureBot.ConsoleConversation/Program.cs +++ b/AzureBot.ConsoleConversation/Program.cs @@ -69,7 +69,17 @@ internal static async Task ReadBotMessagesAsync() foreach (Activity activity in activitiesText) { - Console.WriteLine(activity.Text); + if (!string.IsNullOrEmpty(activity.Text.Trim())) + { + Console.WriteLine(activity.Text); + } + else + { + foreach (Attachment attachment in activity.Attachments) + { + Console.WriteLine(attachment.Content); + } + } Console.Write("Command > "); } await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(false); diff --git a/AzureBot.ConsoleConversation/packages.config b/AzureBot.ConsoleConversation/packages.config index 9810bda..2777d80 100644 --- a/AzureBot.ConsoleConversation/packages.config +++ b/AzureBot.ConsoleConversation/packages.config @@ -1,6 +1,6 @@  - - - + + + \ No newline at end of file diff --git a/AzureBot.Services.Common/AzureBot.Services.Common.csproj b/AzureBot.Services.Common/AzureBot.Services.Common.csproj index 51554cf..73f7e20 100644 --- a/AzureBot.Services.Common/AzureBot.Services.Common.csproj +++ b/AzureBot.Services.Common/AzureBot.Services.Common.csproj @@ -33,8 +33,8 @@ 4 - - ..\packages\Autofac.4.2.0\lib\net45\Autofac.dll + + ..\packages\Autofac.4.3.0\lib\net45\Autofac.dll True @@ -57,12 +57,16 @@ ..\packages\Microsoft.Azure.Management.Resources.2.20.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Builder.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Connector.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.Autofac.dll + True + + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Connector.dll True @@ -70,7 +74,7 @@ True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll True @@ -90,7 +94,7 @@ True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot.Services.Common/ContextConstants.cs b/AzureBot.Services.Common/ContextConstants.cs index 700c3fa..28ceaf3 100644 --- a/AzureBot.Services.Common/ContextConstants.cs +++ b/AzureBot.Services.Common/ContextConstants.cs @@ -2,6 +2,7 @@ { public class ContextConstants { + public const string AuthResultKey = "authResult"; public const string SubscriptionIdKey = "subscriptionId"; } } \ No newline at end of file diff --git a/AzureBot.Services.Common/Dialogs/AzureBotLuisDialog.cs b/AzureBot.Services.Common/Dialogs/AzureBotLuisDialog.cs index 489997e..447a14a 100644 --- a/AzureBot.Services.Common/Dialogs/AzureBotLuisDialog.cs +++ b/AzureBot.Services.Common/Dialogs/AzureBotLuisDialog.cs @@ -10,10 +10,21 @@ namespace AzureBot [Serializable] public class AzureBotLuisDialog : LuisDialog { - public async Task CanHandle(string query) + public AzureBotLuisDialog(params ILuisService[] services) : base(services) { - var tasks = services.Select(s => s.QueryAsync(query, CancellationToken.None)).ToArray(); - var winner = BestResultFrom(await Task.WhenAll(tasks)); + } + + public async Task CanHandle(string query, CancellationToken cancellationToken) + { + var tasks = services.Select(async(s) => await s.QueryAsync(query, cancellationToken)).ToArray(); + var results = await Task.WhenAll(tasks); + + var winners = from result in results.Select((value, index) => new { value, index }) + let resultWinner = BestIntentFrom(result.value) + where resultWinner != null + select new LuisServiceResult(result.value, resultWinner, this.services[result.index]); + + var winner = this.BestResultFrom(winners); return winner != null && winner.BestIntent.Intent != "None"; } } diff --git a/AzureBot.Services.Common/SubscriptionDomain.cs b/AzureBot.Services.Common/SubscriptionDomain.cs index ffcd113..6550071 100644 --- a/AzureBot.Services.Common/SubscriptionDomain.cs +++ b/AzureBot.Services.Common/SubscriptionDomain.cs @@ -26,13 +26,13 @@ public static class Subscription } } - public static async Task GetSubscription(string accessToken, string subscriptionId) + public static async Task GetSubscription(string accessToken, string subscriptionId, CancellationToken cancellationToken) { var credentials = new TokenCloudCredentials(accessToken); using (SubscriptionClient client = new SubscriptionClient(credentials)) { - var subscriptionsResult = await client.Subscriptions.GetAsync(subscriptionId, CancellationToken.None); + var subscriptionsResult = await client.Subscriptions.GetAsync(subscriptionId, cancellationToken); return new Models.Subscription { SubscriptionId = subscriptionsResult.Subscription.SubscriptionId, diff --git a/AzureBot.Services.Common/app.config b/AzureBot.Services.Common/app.config index 4359e04..4288ac9 100644 --- a/AzureBot.Services.Common/app.config +++ b/AzureBot.Services.Common/app.config @@ -8,7 +8,7 @@ - + diff --git a/AzureBot.Services.Common/packages.config b/AzureBot.Services.Common/packages.config index 0f481fd..6093d20 100644 --- a/AzureBot.Services.Common/packages.config +++ b/AzureBot.Services.Common/packages.config @@ -1,6 +1,6 @@  - + @@ -11,11 +11,11 @@ - + - + - + \ No newline at end of file diff --git a/AzureBot.Services.ResourceGroups/AzureBot.Services.ResourceGroup.csproj b/AzureBot.Services.ResourceGroups/AzureBot.Services.ResourceGroup.csproj index bb40053..41a71c0 100644 --- a/AzureBot.Services.ResourceGroups/AzureBot.Services.ResourceGroup.csproj +++ b/AzureBot.Services.ResourceGroups/AzureBot.Services.ResourceGroup.csproj @@ -33,12 +33,12 @@ 4 - - ..\packages\AuthBot.3.3.6-alpha\lib\net40\AuthBot.dll + + ..\packages\AuthBot.3.6.1-alpha\lib\net40\AuthBot.dll True - - ..\packages\Autofac.4.2.0\lib\net45\Autofac.dll + + ..\packages\Autofac.4.3.0\lib\net45\Autofac.dll True @@ -61,12 +61,16 @@ ..\packages\Microsoft.Azure.Management.Resources.2.20.0-preview\lib\net40\Microsoft.Azure.ResourceManager.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Builder.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Connector.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.Autofac.dll + True + + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Connector.dll True @@ -77,12 +81,12 @@ ..\packages\Microsoft.Identity.Client.1.0.304142221-alpha\lib\net45\Microsoft.Identity.Client.Platform.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll True @@ -98,7 +102,7 @@ True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll True @@ -122,7 +126,7 @@ True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True @@ -196,7 +200,9 @@ Designer - + + Designer + diff --git a/AzureBot.Services.ResourceGroups/Dialogs/ResourceGroupDialog.cs b/AzureBot.Services.ResourceGroups/Dialogs/ResourceGroupDialog.cs index 793c1cc..563cd19 100644 --- a/AzureBot.Services.ResourceGroups/Dialogs/ResourceGroupDialog.cs +++ b/AzureBot.Services.ResourceGroups/Dialogs/ResourceGroupDialog.cs @@ -1,6 +1,7 @@ using AuthBot; using AzureBot.Domain; using Microsoft.Bot.Builder.Dialogs; +using Microsoft.Bot.Builder.Luis; using System; using System.Collections.Generic; using System.Configuration; @@ -11,10 +12,14 @@ namespace AzureBot.Dialogs { [Serializable] - class ResourceGroupDialog : AzureBotLuisDialog + public class ResourceGroupDialog : AzureBotLuisDialog { private static Lazy resourceId = new Lazy(() => ConfigurationManager.AppSettings["ActiveDirectory.ResourceId"]); + public ResourceGroupDialog(params ILuisService[] services) : base(services) + { + } + [LuisIntent("CreateTemplateDeployment")] public async Task CreateResourceAsync(IDialogContext context)//, LuisResult result) { diff --git a/AzureBot.Services.ResourceGroups/app.config b/AzureBot.Services.ResourceGroups/app.config index 131c6fa..5139fc7 100644 --- a/AzureBot.Services.ResourceGroups/app.config +++ b/AzureBot.Services.ResourceGroups/app.config @@ -12,7 +12,7 @@ - + @@ -28,11 +28,11 @@ - + - + @@ -48,7 +48,7 @@ - + diff --git a/AzureBot.Services.ResourceGroups/packages.config b/AzureBot.Services.ResourceGroups/packages.config index b2791f0..5f8b8df 100644 --- a/AzureBot.Services.ResourceGroups/packages.config +++ b/AzureBot.Services.ResourceGroups/packages.config @@ -1,7 +1,7 @@  - - + + @@ -15,17 +15,17 @@ - + - + - + - + diff --git a/AzureBot.Services.Runbooks/AzureBot.Services.Automation.csproj b/AzureBot.Services.Runbooks/AzureBot.Services.Automation.csproj index 56d8e5a..db06fc1 100644 --- a/AzureBot.Services.Runbooks/AzureBot.Services.Automation.csproj +++ b/AzureBot.Services.Runbooks/AzureBot.Services.Automation.csproj @@ -33,12 +33,12 @@ 4 - - ..\packages\AuthBot.3.3.6-alpha\lib\net40\AuthBot.dll + + ..\packages\AuthBot.3.6.1-alpha\lib\net40\AuthBot.dll True - - ..\packages\Autofac.4.2.0\lib\net45\Autofac.dll + + ..\packages\Autofac.4.3.0\lib\net45\Autofac.dll True @@ -61,12 +61,16 @@ ..\packages\Microsoft.Azure.Management.Automation.2.0.1\lib\net40\Microsoft.Azure.Management.Automation.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Builder.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Connector.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.Autofac.dll + True + + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Connector.dll True @@ -77,12 +81,12 @@ ..\packages\Microsoft.Identity.Client.1.0.304142221-alpha\lib\net45\Microsoft.Identity.Client.Platform.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll True @@ -98,7 +102,7 @@ True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll True @@ -122,7 +126,7 @@ True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot.Services.Runbooks/Dialogs/AutomationDialog.cs b/AzureBot.Services.Runbooks/Dialogs/AutomationDialog.cs index 9247fee..ea3f3b1 100644 --- a/AzureBot.Services.Runbooks/Dialogs/AutomationDialog.cs +++ b/AzureBot.Services.Runbooks/Dialogs/AutomationDialog.cs @@ -17,10 +17,12 @@ namespace AzureBot.Dialogs { - [LuisModel("6ca45971-e419-4e43-8ba4-71fb486d3ffc", "0e64d2ae951547f692182b4ae74262cb")] [Serializable] public class AutomationDialog : AzureBotLuisDialog { + public AutomationDialog(params ILuisService[] services) : base(services) + { + } [LuisIntent("None")] public async Task None(IDialogContext context, LuisResult result) diff --git a/AzureBot.Services.Runbooks/app.config b/AzureBot.Services.Runbooks/app.config index 131c6fa..5139fc7 100644 --- a/AzureBot.Services.Runbooks/app.config +++ b/AzureBot.Services.Runbooks/app.config @@ -12,7 +12,7 @@ - + @@ -28,11 +28,11 @@ - + - + @@ -48,7 +48,7 @@ - + diff --git a/AzureBot.Services.Runbooks/packages.config b/AzureBot.Services.Runbooks/packages.config index 3849152..696384b 100644 --- a/AzureBot.Services.Runbooks/packages.config +++ b/AzureBot.Services.Runbooks/packages.config @@ -1,7 +1,7 @@  - - + + @@ -15,17 +15,17 @@ - + - + - + - + diff --git a/AzureBot.Services.VMs/AzureBot.Services.VM.csproj b/AzureBot.Services.VMs/AzureBot.Services.VM.csproj index 1a4555d..f264b27 100644 --- a/AzureBot.Services.VMs/AzureBot.Services.VM.csproj +++ b/AzureBot.Services.VMs/AzureBot.Services.VM.csproj @@ -33,12 +33,12 @@ 4 - - ..\packages\AuthBot.3.3.6-alpha\lib\net40\AuthBot.dll + + ..\packages\AuthBot.3.6.1-alpha\lib\net40\AuthBot.dll True - - ..\packages\Autofac.4.2.0\lib\net45\Autofac.dll + + ..\packages\Autofac.4.3.0\lib\net45\Autofac.dll True @@ -61,12 +61,16 @@ ..\packages\Microsoft.Azure.Management.Compute.9.1.0\lib\net40\Microsoft.Azure.Management.Compute.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Builder.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Connector.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.Autofac.dll + True + + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Connector.dll True @@ -77,12 +81,12 @@ ..\packages\Microsoft.Identity.Client.1.0.304142221-alpha\lib\net45\Microsoft.Identity.Client.Platform.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll True @@ -98,7 +102,7 @@ True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll True @@ -122,7 +126,7 @@ True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot.Services.VMs/Dialogs/VMDialog.cs b/AzureBot.Services.VMs/Dialogs/VMDialog.cs index 9354729..def1e72 100644 --- a/AzureBot.Services.VMs/Dialogs/VMDialog.cs +++ b/AzureBot.Services.VMs/Dialogs/VMDialog.cs @@ -18,12 +18,15 @@ namespace AzureBot.Dialogs { - [LuisModel("836166b9-d8c1-4185-9515-0ebfbf3226dc", "0e64d2ae951547f692182b4ae74262cb")] [Serializable] public class VMDialog : AzureBotLuisDialog { private static Lazy resourceId = new Lazy(() => ConfigurationManager.AppSettings["ActiveDirectory.ResourceId"]); + public VMDialog(params ILuisService[] services) : base(services) + { + } + [LuisIntent("ListVms")] public async Task ListVmsAsync(IDialogContext context, LuisResult result) { diff --git a/AzureBot.Services.VMs/app.config b/AzureBot.Services.VMs/app.config index 131c6fa..5139fc7 100644 --- a/AzureBot.Services.VMs/app.config +++ b/AzureBot.Services.VMs/app.config @@ -12,7 +12,7 @@ - + @@ -28,11 +28,11 @@ - + - + @@ -48,7 +48,7 @@ - + diff --git a/AzureBot.Services.VMs/packages.config b/AzureBot.Services.VMs/packages.config index 472137d..0cb5cf8 100644 --- a/AzureBot.Services.VMs/packages.config +++ b/AzureBot.Services.VMs/packages.config @@ -1,7 +1,7 @@  - - + + @@ -15,17 +15,17 @@ - + - + - + - + diff --git a/AzureBot.Tests/AzureBot.Tests.csproj b/AzureBot.Tests/AzureBot.Tests.csproj index 41ce50c..040b3d0 100644 --- a/AzureBot.Tests/AzureBot.Tests.csproj +++ b/AzureBot.Tests/AzureBot.Tests.csproj @@ -37,16 +37,16 @@ - ..\packages\Microsoft.Bot.Connector.DirectLine.3.0.0-beta\lib\net45\Microsoft.Bot.Connector.DirectLine.dll + ..\packages\Microsoft.Bot.Connector.DirectLine.3.0.0\lib\net45\Microsoft.Bot.Connector.DirectLine.dll True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.4\lib\net45\Microsoft.Rest.ClientRuntime.dll True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot.Tests/packages.config b/AzureBot.Tests/packages.config index 9810bda..2777d80 100644 --- a/AzureBot.Tests/packages.config +++ b/AzureBot.Tests/packages.config @@ -1,6 +1,6 @@  - - - + + + \ No newline at end of file diff --git a/AzureBot/AzureBot.csproj b/AzureBot/AzureBot.csproj index e9c1ba2..79454cd 100644 --- a/AzureBot/AzureBot.csproj +++ b/AzureBot/AzureBot.csproj @@ -43,6 +43,7 @@ + @@ -69,7 +70,9 @@ - + + Designer + Web.config @@ -78,12 +81,12 @@ - - ..\packages\AuthBot.3.3.6-alpha\lib\net40\AuthBot.dll + + ..\packages\AuthBot.3.6.1-alpha\lib\net40\AuthBot.dll True - - ..\packages\Autofac.4.2.0\lib\net45\Autofac.dll + + ..\packages\Autofac.4.3.0\lib\net45\Autofac.dll True @@ -122,12 +125,16 @@ ..\packages\Microsoft.ApplicationInsights.TraceListener.2.1.0\lib\net45\Microsoft.ApplicationInsights.TraceListener.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Builder.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.dll + True + + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Builder.Autofac.dll True - - ..\packages\Microsoft.Bot.Builder.3.3.3\lib\net46\Microsoft.Bot.Connector.dll + + ..\packages\Microsoft.Bot.Builder.3.5.2\lib\net46\Microsoft.Bot.Connector.dll True @@ -139,12 +146,12 @@ ..\packages\Microsoft.Identity.Client.1.0.304142221-alpha\lib\net45\Microsoft.Identity.Client.Platform.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll True - - ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll + + ..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.3.13.8\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll True @@ -160,7 +167,7 @@ True - ..\packages\Microsoft.Rest.ClientRuntime.2.3.2\lib\net45\Microsoft.Rest.ClientRuntime.dll + ..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll True @@ -184,7 +191,7 @@ True - ..\packages\Newtonsoft.Json.9.0.2-beta1\lib\net45\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll True diff --git a/AzureBot/Controllers/MessagesController.cs b/AzureBot/Controllers/MessagesController.cs index 4749950..67cadbc 100644 --- a/AzureBot/Controllers/MessagesController.cs +++ b/AzureBot/Controllers/MessagesController.cs @@ -2,12 +2,16 @@ { using Dialogs; using Microsoft.Bot.Builder.Dialogs; + using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Connector; - using System; + using System.Configuration; using System.Diagnostics; + using System.Linq; using System.Net.Http; + using System.Threading; using System.Threading.Tasks; using System.Web.Http; + [BotAuthentication] public class MessagesController : ApiController { @@ -19,10 +23,34 @@ public virtual async Task Post([FromBody] Activity activity { if (activity != null) { + StateClient stateClient = activity.GetStateClient(); + switch (activity.GetActivityType()) { + case ActivityTypes.Event: + var eventToken = activity.Value.ToString(); + + AuthBot.Models.AuthResult authResult = new AuthBot.Models.AuthResult(); + object tokenCache = new Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache(); + var token = await AuthBot.Helpers.AzureActiveDirectoryHelper.GetTokenByAuthCodeAsync(eventToken, + (Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache)tokenCache); + + BotData userData = await stateClient.BotState.GetUserDataAsync(activity.ChannelId, activity.From.Id); + userData.SetProperty(ContextConstants.AuthResultKey, token); + await stateClient.BotState.SetUserDataAsync(activity.ChannelId, activity.From.Id, userData); + break; case ActivityTypes.Message: - await Conversation.SendAsync(activity, () => new RootDialog()); + case ActivityTypes.ConversationUpdate: + + if (!string.IsNullOrEmpty(activity.Text) && + new[] { "cancel", "reset", "start over", "/deleteprofile" }.Any(c => activity.Text.Contains(c))) + { + await stateClient.BotState.DeleteStateForUserAsync(activity.ChannelId, + activity.From.Id, + CancellationToken.None); + } + await Conversation.SendAsync(activity, () => new RootDialog(new LuisService(new LuisModelAttribute(ConfigurationManager.AppSettings["RootDialog.AppId"], + ConfigurationManager.AppSettings["LuisAPIKey"])))); break; default: Trace.TraceError($"Azure Bot ignored an activity. Activity type received: {activity.GetActivityType()}"); diff --git a/AzureBot/Dialogs/DialogFactory.cs b/AzureBot/Dialogs/DialogFactory.cs index 96c672f..0feb042 100644 --- a/AzureBot/Dialogs/DialogFactory.cs +++ b/AzureBot/Dialogs/DialogFactory.cs @@ -4,6 +4,9 @@ using System.Reflection; using Microsoft.Bot.Builder.Dialogs; using System.Threading.Tasks; +using System.Threading; +using Microsoft.Bot.Builder.Luis; +using System.Configuration; namespace AzureBot.Dialogs { @@ -12,32 +15,40 @@ public class DialogFactory private static object resoucelock= new object(); private static List> ResourceDialogs { get; set; } - public async Task> Create(string query) + public async Task> Create(string query, CancellationToken cancellationToken) { query = query.ToLowerInvariant(); EnsureResourceDialogs(); foreach (var resourceDialog in ResourceDialogs) { - if (await resourceDialog.CanHandle(query)) + if (await resourceDialog.CanHandle(query, cancellationToken)) { return resourceDialog; } } return null; } - private void EnsureResourceDialogs() { - if (ResourceDialogs == null || !ResourceDialogs.Any()) + if (ResourceDialogs == null || (ResourceDialogs.Count != 3)) { lock (resoucelock) { - if (ResourceDialogs == null || !ResourceDialogs.Any()) + if (ResourceDialogs == null) + { + ResourceDialogs = new List>(); + } + else if (ResourceDialogs.Count != 3) { - var type = typeof(AzureBotLuisDialog); - var assemblies=AppDomain.CurrentDomain.GetAssemblies().Where(a=>a.FullName.StartsWith("AzureBot.Services")).ToList(); - ResourceDialogs = assemblies.SelectMany(a => a.GetTypes()).Where(a => type.IsAssignableFrom(a)).Select(a=> (AzureBotLuisDialog)Activator.CreateInstance(a)).ToList(); + ResourceDialogs.Clear(); } + + ResourceDialogs.Add(new AutomationDialog(new LuisService(new LuisModelAttribute(ConfigurationManager.AppSettings["AutomationDialog.AppId"], + ConfigurationManager.AppSettings["LuisAPIKey"])))); + ResourceDialogs.Add(new ResourceGroupDialog(new LuisService(new LuisModelAttribute(ConfigurationManager.AppSettings["ResourceGroupDialog.AppId"], + ConfigurationManager.AppSettings["LuisAPIKey"])))); + ResourceDialogs.Add(new VMDialog(new LuisService(new LuisModelAttribute(ConfigurationManager.AppSettings["VMDialog.AppId"], + ConfigurationManager.AppSettings["LuisAPIKey"])))); ; } } } diff --git a/AzureBot/Dialogs/RootDialog.cs b/AzureBot/Dialogs/RootDialog.cs index 288e73c..5f42c02 100644 --- a/AzureBot/Dialogs/RootDialog.cs +++ b/AzureBot/Dialogs/RootDialog.cs @@ -14,19 +14,23 @@ using System.Threading; using System.Threading.Tasks; - [LuisModel("d2129bee-5d15-4c78-be3b-2005e3c08cd4", "0e64d2ae951547f692182b4ae74262cb")] [Serializable] public class RootDialog : AzureBotLuisDialog { private static Lazy resourceId = new Lazy(() => ConfigurationManager.AppSettings["ActiveDirectory.ResourceId"]); private bool serviceUrlSet = false; private string userToBot; + + public RootDialog(params ILuisService[] services) : base(services) + { + } + [LuisIntent("")] [LuisIntent("None")] public async Task None(IDialogContext context, LuisResult result) { var factory = new DialogFactory(); - AzureBotLuisDialog dialog = await factory.Create(result.Query); + AzureBotLuisDialog dialog = await factory.Create(result.Query, context.CancellationToken); if (dialog != null) { @@ -38,14 +42,12 @@ public async Task None(IDialogContext context, LuisResult result) { return; } - await context.Forward(dialog, this.ResumeAfterForward, message, CancellationToken.None); + await context.Forward(dialog, this.ResumeAfterForward, message, context.CancellationToken); } else { string message = $"Sorry, I did not understand '{result.Query}'. Type 'help' if you need assistance."; - await context.PostAsync(message); - context.Wait(MessageReceived); } @@ -72,7 +74,6 @@ public async Task Help(IDialogContext context, LuisResult result) message += $"By using me, you agree to the Microsoft Privacy Statement and Microsoft Services Agreement on http://aka.ms/AzureBot \n\n"; message += $"Please type **login** to interact with me for the first time."; } - await context.PostAsync(message); @@ -84,17 +85,24 @@ protected override async Task MessageReceived(IDialogContext context, IAwaitable var message = await item; //No way to get the message in the LuisIntent methods so saving it here - userToBot = message.Text.ToLowerInvariant(); + if (message.Type != ActivityTypes.Message || message == null || string.IsNullOrEmpty(message.Text)) + { + await this.Help(context, new LuisResult()); + return; + } + else + { + userToBot = message.Text.ToLowerInvariant(); + } if (!serviceUrlSet) { context.PrivateConversationData.SetValue("ServiceUrl", message.ServiceUrl); serviceUrlSet = true; } - if (userToBot.Contains("help") || message.Type != ActivityTypes.Message) + if (userToBot.Contains("help")) { await base.MessageReceived(context, item); - return; } @@ -104,7 +112,7 @@ protected override async Task MessageReceived(IDialogContext context, IAwaitable { if (userToBot.Contains("login")) { - await context.Forward(new AzureAuthDialog(resourceId.Value), this.ResumeAfterAuth, message, CancellationToken.None); + await context.Forward(new AzureAuthDialog(resourceId.Value), this.ResumeAfterAuth, message, context.CancellationToken); } else { @@ -160,7 +168,7 @@ public async Task GetCurrentSubscriptionAsync(IDialogContext context, LuisResult var subscriptionId = context.GetSubscriptionId(); - var currentSubscription = await Domain.Subscription.GetSubscription(accessToken, subscriptionId); + var currentSubscription = await Domain.Subscription.GetSubscription(accessToken, subscriptionId, context.CancellationToken); await context.PostAsync($"Your current subscription is '{currentSubscription.DisplayName}'."); @@ -228,24 +236,6 @@ public async Task Logout(IDialogContext context, LuisResult result) context.Wait(this.MessageReceived); } - //[LuisIntent("DetermineResource")] - //public async Task DetermineResourceAsync(IDialogContext context, LuisResult result) - //{ - // var accessToken = await context.GetAccessToken(resourceId.Value); - // if (string.IsNullOrEmpty(accessToken)) - // { - // return; - // } - - // var factory = new DialogFactory(); - // var message = context.MakeMessage(); - // message.Text = userToBot; - - // var dialog = factory.Create(result.Query); - - // await context.Forward(dialog, this.ResumeAfterForward, message, CancellationToken.None); - //} - private async Task ResumeAfterForward(IDialogContext context, IAwaitable result) { var message = await result; diff --git a/AzureBot/LuisModel/AzureBot-Automation.json b/AzureBot/LuisModel/AzureBot-Automation.json index 7e11c6c..c0427f2 100644 --- a/AzureBot/LuisModel/AzureBot-Automation.json +++ b/AzureBot/LuisModel/AzureBot-Automation.json @@ -1,1614 +1,1428 @@ -{ - "luis_schema_version": "1.3.0", - "name": "AzureBot-Automation", - "desc": "A bot that can interact with Azure", - "culture": "en-us", - "intents": [ - { - "name": "ListAutomationAccounts" - }, - { - "name": "ListRunbooks" - }, - { - "name": "None" - }, - { - "name": "RunRunbook" - }, - { - "name": "ShowJobOutput" - }, - { - "name": "ShowRunbookDescription" - }, - { - "name": "StatusJob" - } - ], - "entities": [ - { - "name": "AutomationAccount" - }, - { - "name": "Job" - }, - { - "name": "Runbook" - } - ], - "composites": [], - "bing_entities": [ - "number", - "ordinal" - ], - "actions": [ - { - "actionName": "ShowRunbookDescription", - "intentName": "ShowRunbookDescription", - "actionParameters": [ - { - "parameterName": "runbookName", - "entityName": "Runbook", - "required": false - } - ] - }, - { - "actionName": "RunRunbook", - "intentName": "RunRunbook", - "actionParameters": [ - { - "parameterName": "runbookName", - "entityName": "Runbook", - "required": false - }, - { - "parameterName": "automationAccountName", - "entityName": "AutomationAccount", - "required": false - } - ] - }, - { - "actionName": "StatusJob", - "intentName": "StatusJob", - "actionParameters": [] - }, - { - "actionName": "ShowJobOutput", - "intentName": "ShowJobOutput", - "actionParameters": [ - { - "parameterName": "jobId", - "entityName": "Job", - "required": false - } - ] - } - ], - "model_features": [ - { - "name": "RunbookSynonyms", - "mode": true, - "words": "runbook,run book", - "activated": true - }, - { - "name": "ShowList", - "mode": true, - "words": "show,list", - "activated": true - } - ], - "regex_features": [], - "utterances": [ - { - "text": "user subscription 5", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm abancc23", - "intent": "None", - "entities": [] - }, - { - "text": "delete virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to dev-internal2", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription 12345", - "intent": "None", - "entities": [] - }, - { - "text": "show job1 output", - "intent": "ShowJobOutput", - "entities": [ - { - "entity": "Job", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "remove vm", - "intent": "None", - "entities": [] - }, - { - "text": "what is my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from accountthatdoesntexists automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 4, - "endPos": 4 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "switch subscription to x312345", - "intent": "None", - "entities": [] - }, - { - "text": "hi", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription", - "intent": "None", - "entities": [] - }, - { - "text": "create virtual machine xysz", - "intent": "None", - "entities": [] - }, - { - "text": "create vm xyzs", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from non-existentaccount automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 4, - "endPos": 6 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list subs", - "intent": "None", - "entities": [] - }, - { - "text": "stop abancc23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start vm encta02", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription onetwo", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from testez automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 4, - "endPos": 4 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "hello", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestcloud subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook", - "intent": "RunRunbook", - "entities": [] - }, - { - "text": "remove virtual machine xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown dev012qa1 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown x34-prod virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what's subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "select the azure training kit subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select the develop01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepep", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xyasda", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from non-existent-account automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 4, - "endPos": 8 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what is my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 8, - "endPos": 8 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 6 - } - ] - }, - { - "text": "run runbook hello-world from autdevqa automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 6, - "endPos": 6 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "stop vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown pilea-dev vm", - "intent": "None", - "entities": [] - }, - { - "text": "delete vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription ximbus deployment test", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown server05 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start run book cleanup-demos-msdn100", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 3, - "endPos": 7 - } - ] - }, - { - "text": "use subscription dev-test", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription qa", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestlab subcription", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "my jobs", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "select the third subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook prod-dev from qa-internal-2 automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 6, - "endPos": 10 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-demos-msdn100", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 6 - } - ] - }, - { - "text": "change to subscription media service private prod", - "intent": "None", - "entities": [] - }, - { - "text": "stop server03 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "select the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "signout", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-azuredb", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "give me the status of a job", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "use subscription production", - "intent": "None", - "entities": [] - }, - { - "text": "use the xxx subscription", - "intent": "None", - "entities": [] - }, - { - "text": "status job", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "start the third one", - "intent": "None", - "entities": [] - }, - { - "text": "start the x runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "show me the job status", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start dev-vm1 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "stop qa-dev-01 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "list my automation accounts", - "intent": "ListAutomationAccounts", - "entities": [] - }, - { - "text": "use the devtest subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server01", - "intent": "None", - "entities": [] - }, - { - "text": "job status", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "start runbook hello-world", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "use subscription manifold-test", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook restore-resourcegroups", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "change to the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the second one", - "intent": "None", - "entities": [] - }, - { - "text": "run the configurevm runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "switch subscription to powerbi pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-resourcegroups", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "select subscription wenham-qa", - "intent": "None", - "entities": [] - }, - { - "text": "runbook status", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "start virtual machine newserver01", - "intent": "None", - "entities": [] - }, - { - "text": "list automation accounts", - "intent": "ListAutomationAccounts", - "entities": [] - }, - { - "text": "show me the status of a job", - "intent": "StatusJob", - "entities": [] - }, - { - "text": "what are the virtual machines?", - "intent": "None", - "entities": [] - }, - { - "text": "list vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop pilea-dev vm", - "intent": "None", - "entities": [] - }, - { - "text": "switch to the dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start server02 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what's the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepe", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to wacom devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm integration-server", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to acom pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start the xxy virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "start pilea-qa vm", - "intent": "None", - "entities": [] - }, - { - "text": "can you please list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "select dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging subscription", - "intent": "None", - "entities": [] - }, - { - "text": "list virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription devdev", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server-01", - "intent": "None", - "entities": [] - }, - { - "text": "what is the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "start vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 1234", - "intent": "None", - "entities": [] - }, - { - "text": "change sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "enumerate vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm cloudsvr", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm winservervm", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging-01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch the 12314 runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "logoff", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine 12345", - "intent": "None", - "entities": [] - }, - { - "text": "stop the abancc23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "choose the falkfajsfk subscription", - "intent": "None", - "entities": [] - }, - { - "text": "choose subscription qa-internal", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook", - "intent": "RunRunbook", - "entities": [] - }, - { - "text": "stop the jauakaka virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "create vm", - "intent": "None", - "entities": [] - }, - { - "text": "list all vms", - "intent": "None", - "entities": [] - }, - { - "text": "use the dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to x2331atest", - "intent": "None", - "entities": [] - }, - { - "text": "select the first subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm cloudsvr", - "intent": "None", - "entities": [] - }, - { - "text": "change my subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch runbook testbk01", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start run book", - "intent": "RunRunbook", - "entities": [] - }, - { - "text": "what's the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "logout", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea-vm virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "run the deded azure runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start vm 234afsfs", - "intent": "None", - "entities": [] - }, - { - "text": "run the oapapap runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "help", - "intent": "None", - "entities": [] - }, - { - "text": "stop the cloudsvr vm", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription q-internal", - "intent": "None", - "entities": [] - }, - { - "text": "stop the server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop the qweruw vm", - "intent": "None", - "entities": [] - }, - { - "text": "show all subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 12345", - "intent": "None", - "entities": [] - }, - { - "text": "use sub qadev1", - "intent": "None", - "entities": [] - }, - { - "text": "start azure runbook mybook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "sign out", - "intent": "None", - "entities": [] - }, - { - "text": "start the abcdef23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook test01", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start the cloudsvr vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea-vm virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "which are my subscriptions?", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm osisksks214", - "intent": "None", - "entities": [] - }, - { - "text": "show subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to qaprod", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the yyyy virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "log off", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine zaraza", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea-vm vm", - "intent": "None", - "entities": [] - }, - { - "text": "list vm", - "intent": "None", - "entities": [] - }, - { - "text": "run azure runbook jujujuj", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "start runbook 0101011", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start the pilea-vm vm", - "intent": "None", - "entities": [] - }, - { - "text": "show me the subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea vm", - "intent": "None", - "entities": [] - }, - { - "text": "list the vms", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm x0324aa", - "intent": "None", - "entities": [] - }, - { - "text": "what's my currrent subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "5", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start vm \"pilea-vm\"", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm myserver", - "intent": "None", - "entities": [] - }, - { - "text": "what is the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the alalala runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list the virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server1", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine kajakakxd", - "intent": "None", - "entities": [] - }, - { - "text": "log out", - "intent": "None", - "entities": [] - }, - { - "text": "show me all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start vm myserver", - "intent": "None", - "entities": [] - }, - { - "text": "help me", - "intent": "None", - "entities": [] - }, - { - "text": "show vms", - "intent": "None", - "entities": [] - }, - { - "text": "list subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "list my subs", - "intent": "None", - "entities": [] - }, - { - "text": "delete vm", - "intent": "None", - "entities": [] - }, - { - "text": "test", - "intent": "None", - "entities": [] - }, - { - "text": "list my runbooks", - "intent": "ListRunbooks", - "entities": [] - }, - { - "text": "list runbooks", - "intent": "ListRunbooks", - "entities": [] - }, - { - "text": "show runbooks", - "intent": "ListRunbooks", - "entities": [] - }, - { - "text": "show me my runbooks", - "intent": "ListRunbooks", - "entities": [] - }, - { - "text": "show job15 output", - "intent": "ShowJobOutput", - "entities": [ - { - "entity": "Job", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "show runbook cleanup-demos-msdn100 description", - "intent": "ShowRunbookDescription", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 6 - } - ] - }, - { - "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", - "intent": "RunRunbook", - "entities": [ - { - "entity": "AutomationAccount", - "startPos": 8, - "endPos": 10 - }, - { - "entity": "Runbook", - "startPos": 2, - "endPos": 6 - } - ] - }, - { - "text": "show runbook psrunbook description", - "intent": "ShowRunbookDescription", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "show runbook write-helloworld description", - "intent": "ShowRunbookDescription", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list runbook remove-resourcegroups description", - "intent": "ShowRunbookDescription", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list job1 output", - "intent": "ShowJobOutput", - "entities": [ - { - "entity": "Job", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start cleanup-demos-msdn100 runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 1, - "endPos": 4 - }, - { - "entity": "Runbook", - "startPos": 5, - "endPos": 5 - } - ] - }, - { - "text": "start runbook remove-resourcegroups", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start remove-resourcegroups runbook", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "start all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms", - "intent": "None", - "entities": [] - }, - { - "text": "start all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-all-my-resource-groups", - "intent": "RunRunbook", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 10 - } - ] - }, - { - "text": "start all vms from azurebot-development resource group", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook aademo-helloworld description", - "intent": "ShowRunbookDescription", - "entities": [ - { - "entity": "Runbook", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "stop all vms from azurebot-development resource group", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all vms from azurebot-development resource group", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all vms from test-ez resource group", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all vms from coreos1vm resource group", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from coreos1vm resource group", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from coreos1vm resource group", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from test-ez resource group", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from test-ez resource group", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all vms from test-ez-rg resource group", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from test-ez-rg resource group", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from test-ez-rg resource group", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook description", - "intent": "ShowRunbookDescription", - "entities": [] - }, - { - "text": "list my resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "what resource groups do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list my rgs", - "intent": "None", - "entities": [] - }, - { - "text": "what rgs do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list rgs", - "intent": "None", - "entities": [] - }, - { - "text": "list resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "list subsctiptions", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azrbot-development resource group", - "intent": "None", - "entities": [] - }, - { - "text": "select azurebotprod_event subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription azurebotprod_events", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from resource group azrbot-development", - "intent": "None", - "entities": [] - }, - { - "text": "select azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "switch azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select azurebotvsts_events subscription", - "intent": "None", - "entities": [] - } - ] +{ + "luis_schema_version": "2.1.0", + "versionId": "0.1", + "name": "AzureBot-Automation", + "desc": "A bot that can interact with Azure", + "culture": "en-us", + "intents": [ + { + "name": "ListAutomationAccounts" + }, + { + "name": "ListRunbooks" + }, + { + "name": "None" + }, + { + "name": "RunRunbook" + }, + { + "name": "ShowJobOutput" + }, + { + "name": "ShowRunbookDescription" + }, + { + "name": "StatusJob" + } + ], + "entities": [ + { + "name": "AutomationAccount" + }, + { + "name": "Job" + }, + { + "name": "Runbook" + } + ], + "composites": [], + "closedLists": [], + "bing_entities": [ + "number", + "ordinal" + ], + "actions": [ + { + "actionName": "RunRunbook", + "intentName": "RunRunbook", + "channel": null, + "actionParameters": [ + { + "parameterName": "runbookName", + "entityName": "Runbook", + "required": false, + "question": null, + "phraseListFeatureName": null + }, + { + "parameterName": "automationAccountName", + "entityName": "AutomationAccount", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + }, + { + "actionName": "ShowJobOutput", + "intentName": "ShowJobOutput", + "channel": null, + "actionParameters": [ + { + "parameterName": "jobId", + "entityName": "Job", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + }, + { + "actionName": "ShowRunbookDescription", + "intentName": "ShowRunbookDescription", + "channel": null, + "actionParameters": [ + { + "parameterName": "runbookName", + "entityName": "Runbook", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + }, + { + "actionName": "StatusJob", + "intentName": "StatusJob", + "channel": null, + "actionParameters": [] + } + ], + "model_features": [ + { + "name": "RunbookSynonyms", + "mode": true, + "words": "runbook,run book", + "activated": true + }, + { + "name": "ShowList", + "mode": true, + "words": "show,list", + "activated": true + } + ], + "regex_features": [], + "utterances": [ + { + "text": "hello", + "intent": "None", + "entities": [] + }, + { + "text": "hi", + "intent": "None", + "entities": [] + }, + { + "text": "test", + "intent": "None", + "entities": [] + }, + { + "text": "help", + "intent": "None", + "entities": [] + }, + { + "text": "help me", + "intent": "None", + "entities": [] + }, + { + "text": "log out", + "intent": "None", + "entities": [] + }, + { + "text": "5", + "intent": "None", + "entities": [] + }, + { + "text": "log off", + "intent": "None", + "entities": [] + }, + { + "text": "sign out", + "intent": "None", + "entities": [] + }, + { + "text": "logout", + "intent": "None", + "entities": [] + }, + { + "text": "create vm", + "intent": "None", + "entities": [] + }, + { + "text": "logoff", + "intent": "None", + "entities": [] + }, + { + "text": "list virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook", + "intent": "RunRunbook", + "entities": [] + }, + { + "text": "remove vm", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm", + "intent": "None", + "entities": [] + }, + { + "text": "list my subs", + "intent": "None", + "entities": [] + }, + { + "text": "list subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my resource groups", + "intent": "None", + "entities": [] + }, + { + "text": "start vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server1", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "start the yyyy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start the abcdef23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm 234afsfs", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine kajakakxd", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm x0324aa", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine zaraza", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm osisksks214", + "intent": "None", + "entities": [] + }, + { + "text": "stop the qweruw vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the jauakaka virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine 12345", + "intent": "None", + "entities": [] + }, + { + "text": "start the xxy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine newserver01", + "intent": "None", + "entities": [] + }, + { + "text": "use the devtest subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription production", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription qa", + "intent": "None", + "entities": [] + }, + { + "text": "select the develop01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription onetwo", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription 12345", + "intent": "None", + "entities": [] + }, + { + "text": "choose subscription qa-internal", + "intent": "None", + "entities": [] + }, + { + "text": "choose the falkfajsfk subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the vms", + "intent": "None", + "entities": [] + }, + { + "text": "list vm", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook test01", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 12, + "endPos": 17 + } + ] + }, + { + "text": "run the oapapap runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 8, + "endPos": 14 + } + ] + }, + { + "text": "launch runbook testbk01", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 15, + "endPos": 22 + } + ] + }, + { + "text": "launch the 12314 runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 11, + "endPos": 15 + } + ] + }, + { + "text": "start the alalala runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 10, + "endPos": 16 + } + ] + }, + { + "text": "start runbook 0101011", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 20 + } + ] + }, + { + "text": "run azure runbook jujujuj", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 18, + "endPos": 24 + } + ] + }, + { + "text": "start azure runbook mybook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 20, + "endPos": 25 + } + ] + }, + { + "text": "run the deded azure runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 8, + "endPos": 12 + } + ] + }, + { + "text": "use the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "enumerate vms", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription devdev", + "intent": "None", + "entities": [] + }, + { + "text": "what are the virtual machines?", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server01", + "intent": "None", + "entities": [] + }, + { + "text": "use the xxx subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription dev-test", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepep", + "intent": "None", + "entities": [] + }, + { + "text": "stop abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm abancc23", + "intent": "None", + "entities": [] + }, + { + "text": "stop the server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "list all vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop the abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "show me the subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "which are my subscriptions?", + "intent": "None", + "entities": [] + }, + { + "text": "show all subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "select the first subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging-01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepe", + "intent": "None", + "entities": [] + }, + { + "text": "run the configurevm runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 8, + "endPos": 18 + } + ] + }, + { + "text": "start the x runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 10, + "endPos": 10 + } + ] + }, + { + "text": "select the third subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the second one", + "intent": "None", + "entities": [] + }, + { + "text": "start the third one", + "intent": "None", + "entities": [] + }, + { + "text": "signout", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xyasda", + "intent": "None", + "entities": [] + }, + { + "text": "create vm xyzs", + "intent": "None", + "entities": [] + }, + { + "text": "create virtual machine xysz", + "intent": "None", + "entities": [] + }, + { + "text": "delete virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start run book", + "intent": "RunRunbook", + "entities": [] + }, + { + "text": "run runbook", + "intent": "RunRunbook", + "entities": [] + }, + { + "text": "start vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server-01", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm integration-server", + "intent": "None", + "entities": [] + }, + { + "text": "switch to the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "change to the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription wenham-qa", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription manifold-test", + "intent": "None", + "entities": [] + }, + { + "text": "change to subscription ximbus deployment test", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestlab subcription", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestcloud subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the azure training kit subscription", + "intent": "None", + "entities": [] + }, + { + "text": "start vm encta02", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription", + "intent": "None", + "entities": [] + }, + { + "text": "change my subscription", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm winservervm", + "intent": "None", + "entities": [] + }, + { + "text": "can you please list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm \"pilea-vm\"", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm cloudsvr", + "intent": "None", + "entities": [] + }, + { + "text": "select dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me the status of a job", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "job status", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "status job", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "my jobs", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "runbook status", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "show me the job status", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "give me the status of a job", + "intent": "StatusJob", + "entities": [] + }, + { + "text": "what's my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "what's subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's my currrent subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm 1234", + "intent": "None", + "entities": [] + }, + { + "text": "start server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start pilea-qa vm", + "intent": "None", + "entities": [] + }, + { + "text": "start server02 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start dev-vm1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop pilea-dev vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop server03 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown server05 vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown dev012qa1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown x34-prod virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to dev-internal2", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to qaprod", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription q-internal", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to x2331atest", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to acom pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to wacom devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to powerbi pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook hello-world", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 24 + } + ] + }, + { + "text": "start runbook cleanup-demos-msdn100", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 34 + } + ] + }, + { + "text": "start run book restore-resourcegroups", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 15, + "endPos": 36 + } + ] + }, + { + "text": "start runbook restore-resourcegroups", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 35 + } + ] + }, + { + "text": "start run book restore-azuredb", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 15, + "endPos": 29 + } + ] + }, + { + "text": "start run book cleanup-demos-msdn100", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 15, + "endPos": 35 + } + ] + }, + { + "text": "stop all vms", + "intent": "None", + "entities": [] + }, + { + "text": "list automation accounts", + "intent": "ListAutomationAccounts", + "entities": [] + }, + { + "text": "list my automation accounts", + "intent": "ListAutomationAccounts", + "entities": [] + }, + { + "text": "start runbook prod-dev from qa-internal-2 automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 28, + "endPos": 40 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 21 + } + ] + }, + { + "text": "run runbook hello-world from autdevqa automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 29, + "endPos": 36 + }, + { + "entity": "Runbook", + "startPos": 12, + "endPos": 22 + } + ] + }, + { + "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 48, + "endPos": 58 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 41 + } + ] + }, + { + "text": "start runbook psrunbook from testez automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 29, + "endPos": 34 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 22 + } + ] + }, + { + "text": "start runbook psrunbook from non-existent-account automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 29, + "endPos": 48 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 22 + } + ] + }, + { + "text": "start runbook psrunbook from non-existentaccount automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 29, + "endPos": 47 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 22 + } + ] + }, + { + "text": "start runbook psrunbook from accountthatdoesntexists automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 29, + "endPos": 51 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 22 + } + ] + }, + { + "text": "show job1 output", + "intent": "ShowJobOutput", + "entities": [ + { + "entity": "Job", + "startPos": 5, + "endPos": 8 + } + ] + }, + { + "text": "list my runbooks", + "intent": "ListRunbooks", + "entities": [] + }, + { + "text": "list runbooks", + "intent": "ListRunbooks", + "entities": [] + }, + { + "text": "show runbooks", + "intent": "ListRunbooks", + "entities": [] + }, + { + "text": "show me my runbooks", + "intent": "ListRunbooks", + "entities": [] + }, + { + "text": "show job15 output", + "intent": "ShowJobOutput", + "entities": [ + { + "entity": "Job", + "startPos": 5, + "endPos": 9 + } + ] + }, + { + "text": "show runbook cleanup-demos-msdn100 description", + "intent": "ShowRunbookDescription", + "entities": [ + { + "entity": "Runbook", + "startPos": 13, + "endPos": 33 + } + ] + }, + { + "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", + "intent": "RunRunbook", + "entities": [ + { + "entity": "AutomationAccount", + "startPos": 41, + "endPos": 57 + }, + { + "entity": "Runbook", + "startPos": 14, + "endPos": 34 + } + ] + }, + { + "text": "show runbook psrunbook description", + "intent": "ShowRunbookDescription", + "entities": [ + { + "entity": "Runbook", + "startPos": 13, + "endPos": 21 + } + ] + }, + { + "text": "show runbook write-helloworld description", + "intent": "ShowRunbookDescription", + "entities": [ + { + "entity": "Runbook", + "startPos": 13, + "endPos": 28 + } + ] + }, + { + "text": "list runbook remove-resourcegroups description", + "intent": "ShowRunbookDescription", + "entities": [ + { + "entity": "Runbook", + "startPos": 13, + "endPos": 33 + } + ] + }, + { + "text": "list job1 output", + "intent": "ShowJobOutput", + "entities": [ + { + "entity": "Job", + "startPos": 5, + "endPos": 8 + } + ] + }, + { + "text": "start cleanup-demos-msdn100 runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 6, + "endPos": 19 + }, + { + "entity": "Runbook", + "startPos": 20, + "endPos": 26 + } + ] + }, + { + "text": "start runbook remove-resourcegroups", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 34 + } + ] + }, + { + "text": "start remove-resourcegroups runbook", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 6, + "endPos": 26 + } + ] + }, + { + "text": "start all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-all-my-resource-groups", + "intent": "RunRunbook", + "entities": [ + { + "entity": "Runbook", + "startPos": 14, + "endPos": 43 + } + ] + }, + { + "text": "show runbook aademo-helloworld description", + "intent": "ShowRunbookDescription", + "entities": [ + { + "entity": "Runbook", + "startPos": 13, + "endPos": 29 + } + ] + }, + { + "text": "shutdown all vms from test-ez resource group", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from coreos1vm resource group", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook description", + "intent": "ShowRunbookDescription", + "entities": [] + }, + { + "text": "list runbook", + "intent": "ListRunbooks", + "entities": [] + } + ] } \ No newline at end of file diff --git a/AzureBot/LuisModel/AzureBot-ResourceGroups.json b/AzureBot/LuisModel/AzureBot-ResourceGroups.json index 1cbdf66..518ab4e 100644 --- a/AzureBot/LuisModel/AzureBot-ResourceGroups.json +++ b/AzureBot/LuisModel/AzureBot-ResourceGroups.json @@ -1,1366 +1,1368 @@ -{ - "luis_schema_version": "1.3.0", - "name": "AzureBot-ResourceGroups", - "desc": "A bot that can interact with Azure", - "culture": "en-us", - "intents": [ - { - "name": "ListResourceGroups" - }, - { - "name": "None" - } - ], - "entities": [ - { - "name": "ResourceGroup" - } - ], - "composites": [], - "bing_entities": [ - "number", - "ordinal" - ], - "actions": [], - "model_features": [ - { - "name": "ShowList", - "mode": true, - "words": "show,list", - "activated": true - }, - { - "name": "RGSynonyms", - "mode": true, - "words": "resource group,RG,resource", - "activated": true - } - ], - "regex_features": [], - "utterances": [ - { - "text": "user subscription 5", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm abancc23", - "intent": "None", - "entities": [] - }, - { - "text": "delete virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to dev-internal2", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription 12345", - "intent": "None", - "entities": [] - }, - { - "text": "show job1 output", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm", - "intent": "None", - "entities": [] - }, - { - "text": "what is my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from accountthatdoesntexists automation account", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to x312345", - "intent": "None", - "entities": [] - }, - { - "text": "hi", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription", - "intent": "None", - "entities": [] - }, - { - "text": "create virtual machine xysz", - "intent": "None", - "entities": [] - }, - { - "text": "create vm xyzs", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from non-existentaccount automation account", - "intent": "None", - "entities": [] - }, - { - "text": "list subs", - "intent": "None", - "entities": [] - }, - { - "text": "stop abancc23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start vm encta02", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription onetwo", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from testez automation account", - "intent": "None", - "entities": [] - }, - { - "text": "current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "hello", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestcloud subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook", - "intent": "None", - "entities": [] - }, - { - "text": "remove virtual machine xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown dev012qa1 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown x34-prod virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what's subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "select the azure training kit subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select the develop01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepep", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xyasda", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from non-existent-account automation account", - "intent": "None", - "entities": [] - }, - { - "text": "what is my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook hello-world from autdevqa automation account", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown pilea-dev vm", - "intent": "None", - "entities": [] - }, - { - "text": "delete vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription ximbus deployment test", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown server05 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start run book cleanup-demos-msdn100", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription dev-test", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription qa", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestlab subcription", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "my jobs", - "intent": "None", - "entities": [] - }, - { - "text": "select the third subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook prod-dev from qa-internal-2 automation account", - "intent": "None", - "entities": [] - }, - { - "text": "start vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-demos-msdn100", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription media service private prod", - "intent": "None", - "entities": [] - }, - { - "text": "stop server03 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "select the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "signout", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-azuredb", - "intent": "None", - "entities": [] - }, - { - "text": "give me the status of a job", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription production", - "intent": "None", - "entities": [] - }, - { - "text": "use the xxx subscription", - "intent": "None", - "entities": [] - }, - { - "text": "status job", - "intent": "None", - "entities": [] - }, - { - "text": "start the third one", - "intent": "None", - "entities": [] - }, - { - "text": "start the x runbook", - "intent": "None", - "entities": [] - }, - { - "text": "show me the job status", - "intent": "None", - "entities": [] - }, - { - "text": "start dev-vm1 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "stop qa-dev-01 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "list my automation accounts", - "intent": "None", - "entities": [] - }, - { - "text": "use the devtest subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server01", - "intent": "None", - "entities": [] - }, - { - "text": "job status", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook hello-world", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription manifold-test", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook restore-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "change to the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the second one", - "intent": "None", - "entities": [] - }, - { - "text": "run the configurevm runbook", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to powerbi pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription wenham-qa", - "intent": "None", - "entities": [] - }, - { - "text": "runbook status", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine newserver01", - "intent": "None", - "entities": [] - }, - { - "text": "list automation accounts", - "intent": "None", - "entities": [] - }, - { - "text": "show me the status of a job", - "intent": "None", - "entities": [] - }, - { - "text": "what are the virtual machines?", - "intent": "None", - "entities": [] - }, - { - "text": "list vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop pilea-dev vm", - "intent": "None", - "entities": [] - }, - { - "text": "switch to the dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start server02 virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what's the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepe", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to wacom devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm integration-server", - "intent": "None", - "entities": [] - }, - { - "text": "start the xxy virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to acom pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start pilea-qa vm", - "intent": "None", - "entities": [] - }, - { - "text": "can you please list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "select dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging subscription", - "intent": "None", - "entities": [] - }, - { - "text": "list virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription devdev", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server-01", - "intent": "None", - "entities": [] - }, - { - "text": "what is the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "start vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "change sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 1234", - "intent": "None", - "entities": [] - }, - { - "text": "enumerate vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm cloudsvr", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm winservervm", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging-01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch the 12314 runbook", - "intent": "None", - "entities": [] - }, - { - "text": "logoff", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine 12345", - "intent": "None", - "entities": [] - }, - { - "text": "stop the abancc23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "choose the falkfajsfk subscription", - "intent": "None", - "entities": [] - }, - { - "text": "choose subscription qa-internal", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook", - "intent": "None", - "entities": [] - }, - { - "text": "create vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop the jauakaka virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "list all vms", - "intent": "None", - "entities": [] - }, - { - "text": "use the dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to x2331atest", - "intent": "None", - "entities": [] - }, - { - "text": "select the first subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm cloudsvr", - "intent": "None", - "entities": [] - }, - { - "text": "change my subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch runbook testbk01", - "intent": "None", - "entities": [] - }, - { - "text": "what's the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "start run book", - "intent": "None", - "entities": [] - }, - { - "text": "logout", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea-vm virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "run the deded azure runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start vm 234afsfs", - "intent": "None", - "entities": [] - }, - { - "text": "run the oapapap runbook", - "intent": "None", - "entities": [] - }, - { - "text": "help", - "intent": "None", - "entities": [] - }, - { - "text": "stop the cloudsvr vm", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription q-internal", - "intent": "None", - "entities": [] - }, - { - "text": "stop the server01 vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop the qweruw vm", - "intent": "None", - "entities": [] - }, - { - "text": "show all subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 12345", - "intent": "None", - "entities": [] - }, - { - "text": "use sub qadev1", - "intent": "None", - "entities": [] - }, - { - "text": "start azure runbook mybook", - "intent": "None", - "entities": [] - }, - { - "text": "sign out", - "intent": "None", - "entities": [] - }, - { - "text": "start the abcdef23 vm", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook test01", - "intent": "None", - "entities": [] - }, - { - "text": "start the cloudsvr vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea-vm virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "which are my subscriptions?", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm osisksks214", - "intent": "None", - "entities": [] - }, - { - "text": "show subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to qaprod", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the yyyy virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "log off", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine zaraza", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea-vm vm", - "intent": "None", - "entities": [] - }, - { - "text": "list vm", - "intent": "None", - "entities": [] - }, - { - "text": "run azure runbook jujujuj", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook 0101011", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea-vm vm", - "intent": "None", - "entities": [] - }, - { - "text": "show me the subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea vm", - "intent": "None", - "entities": [] - }, - { - "text": "list the vms", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm x0324aa", - "intent": "None", - "entities": [] - }, - { - "text": "what's my currrent subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "5", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start vm \"pilea-vm\"", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm myserver", - "intent": "None", - "entities": [] - }, - { - "text": "what is the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm pilea-vm", - "intent": "None", - "entities": [] - }, - { - "text": "start the alalala runbook", - "intent": "None", - "entities": [] - }, - { - "text": "list the virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server1", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine kajakakxd", - "intent": "None", - "entities": [] - }, - { - "text": "log out", - "intent": "None", - "entities": [] - }, - { - "text": "show me all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start vm myserver", - "intent": "None", - "entities": [] - }, - { - "text": "help me", - "intent": "None", - "entities": [] - }, - { - "text": "show vms", - "intent": "None", - "entities": [] - }, - { - "text": "list subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "list my subs", - "intent": "None", - "entities": [] - }, - { - "text": "delete vm", - "intent": "None", - "entities": [] - }, - { - "text": "test", - "intent": "None", - "entities": [] - }, - { - "text": "list my runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "list runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show me my runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show job15 output", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook cleanup-demos-msdn100 description", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook psrunbook description", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook write-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "list runbook remove-resourcegroups description", - "intent": "None", - "entities": [] - }, - { - "text": "list job1 output", - "intent": "None", - "entities": [] - }, - { - "text": "start cleanup-demos-msdn100 runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook remove-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "start remove-resourcegroups runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms", - "intent": "None", - "entities": [] - }, - { - "text": "start all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "start all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-all-my-resource-groups", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "show runbook aademo-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "start all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "stop all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "stop all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "start all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "stop all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "start all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "show runbook description", - "intent": "None", - "entities": [] - }, - { - "text": "list my resource groups", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "what resource groups do i have?", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "list my rgs", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "what rgs do i have?", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "list rgs", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "list resource groups", - "intent": "ListResourceGroups", - "entities": [] - }, - { - "text": "list subsctiptions", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azrbot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "select azurebotprod_event subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription azurebotprod_events", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from resource group azrbot-development", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 6, - "endPos": 8 - } - ] - }, - { - "text": "select azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "switch azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select azurebotvsts_events subscription", - "intent": "None", - "entities": [] - } - ] +{ + "luis_schema_version": "2.1.0", + "versionId": "0.1", + "name": "AzureBot-ResourceGroups", + "desc": "A bot that can interact with Azure", + "culture": "en-us", + "intents": [ + { + "name": "ListResourceGroups" + }, + { + "name": "None" + } + ], + "entities": [ + { + "name": "ResourceGroup" + } + ], + "composites": [], + "closedLists": [], + "bing_entities": [ + "number", + "ordinal" + ], + "actions": [], + "model_features": [ + { + "name": "RGSynonyms", + "mode": true, + "words": "resource group,RG,resource", + "activated": true + }, + { + "name": "ShowList", + "mode": true, + "words": "show,list", + "activated": true + } + ], + "regex_features": [], + "utterances": [ + { + "text": "hello", + "intent": "None", + "entities": [] + }, + { + "text": "hi", + "intent": "None", + "entities": [] + }, + { + "text": "test", + "intent": "None", + "entities": [] + }, + { + "text": "help", + "intent": "None", + "entities": [] + }, + { + "text": "help me", + "intent": "None", + "entities": [] + }, + { + "text": "log out", + "intent": "None", + "entities": [] + }, + { + "text": "5", + "intent": "None", + "entities": [] + }, + { + "text": "log off", + "intent": "None", + "entities": [] + }, + { + "text": "sign out", + "intent": "None", + "entities": [] + }, + { + "text": "logout", + "intent": "None", + "entities": [] + }, + { + "text": "create vm", + "intent": "None", + "entities": [] + }, + { + "text": "logoff", + "intent": "None", + "entities": [] + }, + { + "text": "list virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm", + "intent": "None", + "entities": [] + }, + { + "text": "list my subs", + "intent": "None", + "entities": [] + }, + { + "text": "list subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my resource groups", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "start vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server1", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "start the yyyy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start the abcdef23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm 234afsfs", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine kajakakxd", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm x0324aa", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine zaraza", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm osisksks214", + "intent": "None", + "entities": [] + }, + { + "text": "stop the qweruw vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the jauakaka virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine 12345", + "intent": "None", + "entities": [] + }, + { + "text": "start the xxy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine newserver01", + "intent": "None", + "entities": [] + }, + { + "text": "use the devtest subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription production", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription qa", + "intent": "None", + "entities": [] + }, + { + "text": "select the develop01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription onetwo", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription 12345", + "intent": "None", + "entities": [] + }, + { + "text": "choose subscription qa-internal", + "intent": "None", + "entities": [] + }, + { + "text": "choose the falkfajsfk subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the vms", + "intent": "None", + "entities": [] + }, + { + "text": "list vm", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook test01", + "intent": "None", + "entities": [] + }, + { + "text": "run the oapapap runbook", + "intent": "None", + "entities": [] + }, + { + "text": "launch runbook testbk01", + "intent": "None", + "entities": [] + }, + { + "text": "launch the 12314 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the alalala runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook 0101011", + "intent": "None", + "entities": [] + }, + { + "text": "run azure runbook jujujuj", + "intent": "None", + "entities": [] + }, + { + "text": "start azure runbook mybook", + "intent": "None", + "entities": [] + }, + { + "text": "run the deded azure runbook", + "intent": "None", + "entities": [] + }, + { + "text": "use the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "enumerate vms", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription devdev", + "intent": "None", + "entities": [] + }, + { + "text": "what are the virtual machines?", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server01", + "intent": "None", + "entities": [] + }, + { + "text": "use the xxx subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription dev-test", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepep", + "intent": "None", + "entities": [] + }, + { + "text": "stop abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm abancc23", + "intent": "None", + "entities": [] + }, + { + "text": "stop the server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "list all vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop the abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "show me the subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "which are my subscriptions?", + "intent": "None", + "entities": [] + }, + { + "text": "show all subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "select the first subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging-01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepe", + "intent": "None", + "entities": [] + }, + { + "text": "run the configurevm runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the x runbook", + "intent": "None", + "entities": [] + }, + { + "text": "select the third subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the second one", + "intent": "None", + "entities": [] + }, + { + "text": "start the third one", + "intent": "None", + "entities": [] + }, + { + "text": "signout", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xyasda", + "intent": "None", + "entities": [] + }, + { + "text": "create vm xyzs", + "intent": "None", + "entities": [] + }, + { + "text": "create virtual machine xysz", + "intent": "None", + "entities": [] + }, + { + "text": "delete virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start run book", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server-01", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm integration-server", + "intent": "None", + "entities": [] + }, + { + "text": "switch to the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "change to the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription wenham-qa", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription manifold-test", + "intent": "None", + "entities": [] + }, + { + "text": "change to subscription media service private prod", + "intent": "None", + "entities": [] + }, + { + "text": "change to subscription ximbus deployment test", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestlab subcription", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestcloud subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the azure training kit subscription", + "intent": "None", + "entities": [] + }, + { + "text": "start vm encta02", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription", + "intent": "None", + "entities": [] + }, + { + "text": "user subscription 5", + "intent": "None", + "entities": [] + }, + { + "text": "change my subscription", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm winservervm", + "intent": "None", + "entities": [] + }, + { + "text": "can you please list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm \"pilea-vm\"", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm cloudsvr", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm cloudsvr", + "intent": "None", + "entities": [] + }, + { + "text": "select dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "job status", + "intent": "None", + "entities": [] + }, + { + "text": "status job", + "intent": "None", + "entities": [] + }, + { + "text": "my jobs", + "intent": "None", + "entities": [] + }, + { + "text": "runbook status", + "intent": "None", + "entities": [] + }, + { + "text": "show me the job status", + "intent": "None", + "entities": [] + }, + { + "text": "give me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what's subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's my currrent subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm 12345", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm 1234", + "intent": "None", + "entities": [] + }, + { + "text": "start server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start pilea-qa vm", + "intent": "None", + "entities": [] + }, + { + "text": "start server02 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start dev-vm1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop pilea-dev vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop qa-dev-01 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop server03 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown server05 vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown pilea-dev vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown dev012qa1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown x34-prod virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "list subs", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to x312345", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to dev-internal2", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to qaprod", + "intent": "None", + "entities": [] + }, + { + "text": "use sub qadev1", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription q-internal", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to x2331atest", + "intent": "None", + "entities": [] + }, + { + "text": "change sub to devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to acom pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to wacom devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to powerbi pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook hello-world", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-azuredb", + "intent": "None", + "entities": [] + }, + { + "text": "start run book cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms", + "intent": "None", + "entities": [] + }, + { + "text": "list automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "list my automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook prod-dev from qa-internal-2 automation account", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook hello-world from autdevqa automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from testez automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existent-account automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existentaccount automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from accountthatdoesntexists automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "list my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "list runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show me my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show job15 output", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook cleanup-demos-msdn100 description", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook psrunbook description", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook write-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "list runbook remove-resourcegroups description", + "intent": "None", + "entities": [] + }, + { + "text": "list job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "start cleanup-demos-msdn100 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook remove-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start remove-resourcegroups runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-all-my-resource-groups", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from azurebot-development resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 38 + } + ] + }, + { + "text": "show runbook aademo-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from azurebot-development resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 37 + } + ] + }, + { + "text": "shutdown all vms from azurebot-development resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 41 + } + ] + }, + { + "text": "shutdown all vms from test-ez resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 28 + } + ] + }, + { + "text": "shutdown all vms from coreos1vm resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 30 + } + ] + }, + { + "text": "start all vms from coreos1vm resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 27 + } + ] + }, + { + "text": "stop all vms from coreos1vm resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 26 + } + ] + }, + { + "text": "stop all vms from test-ez resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 24 + } + ] + }, + { + "text": "start all vms from test-ez resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 25 + } + ] + }, + { + "text": "shutdown all vms from test-ez-rg resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 31 + } + ] + }, + { + "text": "stop all vms from test-ez-rg resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 27 + } + ] + }, + { + "text": "start all vms from test-ez-rg resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 28 + } + ] + }, + { + "text": "show runbook description", + "intent": "None", + "entities": [] + }, + { + "text": "what resource groups do i have?", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "list my rgs", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "what rgs do i have?", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "list rgs", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "list resource groups", + "intent": "ListResourceGroups", + "entities": [] + }, + { + "text": "list subsctiptions", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from azrbot-development resource group", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 36 + } + ] + }, + { + "text": "select azurebotprod_event subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription azurebotprod_events", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from resource group azrbot-development", + "intent": "None", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 34, + "endPos": 51 + } + ] + }, + { + "text": "select azurebotprod_events subscription", + "intent": "None", + "entities": [] + }, + { + "text": "switch azurebotprod_events subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select azurebotvsts_events subscription", + "intent": "None", + "entities": [] + } + ] } \ No newline at end of file diff --git a/AzureBot/LuisModel/AzureBot-Root.json b/AzureBot/LuisModel/AzureBot-Root.json index 3f1ce82..d496eff 100644 --- a/AzureBot/LuisModel/AzureBot-Root.json +++ b/AzureBot/LuisModel/AzureBot-Root.json @@ -1,2225 +1,1678 @@ -{ - "luis_schema_version": "1.3.0", - "name": "AzureBot-Root", - "desc": "A bot that can interact with Azure", - "culture": "en-us", - "intents": [ - { - "name": "CurrentSubscription" - }, - { - "name": "DetermineResource" - }, - { - "name": "Help" - }, - { - "name": "ListSubscriptions" - }, - { - "name": "Logout" - }, - { - "name": "None" - }, - { - "name": "UseSubscription" - } - ], - "entities": [ - { - "name": "Automation" - }, - { - "name": "ResourceGroup" - }, - { - "name": "Subscription" - }, - { - "name": "VirtualMachine" - }, - { - "name": "WebApp" - } - ], - "composites": [], - "bing_entities": [ - "number", - "ordinal" - ], - "actions": [ - { - "actionName": "UseSubscription", - "intentName": "UseSubscription", - "actionParameters": [ - { - "parameterName": "subscriptionName", - "entityName": "Subscription", - "required": false - } - ] - } - ], - "model_features": [ - { - "name": "VmSynonyms", - "mode": true, - "words": "vm,virtual machine,vms,virtual machines", - "activated": true - }, - { - "name": "RunbookSynonyms", - "mode": true, - "words": "runbook,run book", - "activated": true - }, - { - "name": "SubscriptionsSynonyms", - "mode": true, - "words": "subscriptions,subs", - "activated": true - }, - { - "name": "SubscriptionSynonyms", - "mode": true, - "words": "subscription,sub", - "activated": true - }, - { - "name": "LogoutSynonyms", - "mode": true, - "words": "logout,logoff,signout,log out,log off,sign out", - "activated": true - }, - { - "name": "ShowList", - "mode": true, - "words": "show,list", - "activated": true - }, - { - "name": "RGSynonyms", - "mode": true, - "words": "resource group,RG,resource", - "activated": true - } - ], - "regex_features": [], - "utterances": [ - { - "text": "stop virtual machine pilea-vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "stop server01 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "list vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "show me the status of a job", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 6, - "endPos": 6 - } - ] - }, - { - "text": "start all my vms", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "stop all virtual machines", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 3 - } - ] - }, - { - "text": "list my automation accounts", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 2, - "endPos": 3 - } - ] - }, - { - "text": "job status", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 0, - "endPos": 0 - } - ] - }, - { - "text": "show all subscriptions", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "start vm myserver", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start vm server-01", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "select the first subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run runbook test01", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "show vms", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "list automation accounts", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start server02 virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start run book cleanup-demos-msdn100", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 3, - "endPos": 7 - } - ] - }, - { - "text": "select dev-test subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "start virtual machine pilea-vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "start all my virtual machines", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 4 - } - ] - }, - { - "text": "list the vms", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "test", - "intent": "None", - "entities": [] - }, - { - "text": "start all virtual machines", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 3 - } - ] - }, - { - "text": "stop vm cloudsvr", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start run book restore-azuredb", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "start dev-vm1 virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "list subscriptions", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "start pilea-qa vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "stop the pilea-vm virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list the virtual machines", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 3 - } - ] - }, - { - "text": "list my subs", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "show subscriptions", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "start runbook restore-resourcegroups", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "hi", - "intent": "None", - "entities": [] - }, - { - "text": "start server01 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start vm cloudsvr", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start run book restore-resourcegroups", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "start runbook remove-resourcegroups", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start the pilea-vm virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "show me the subscriptions", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "hello", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 1234", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "show me all virtual machines", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 4 - } - ] - }, - { - "text": "start remove-resourcegroups runbook", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "delete vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "stop the pilea-vm vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list job1 output", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 1, - "endPos": 2 - } - ] - }, - { - "text": "choose the falkfajsfk subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start cleanup-demos-msdn100 runbook", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 1, - "endPos": 5 - } - ] - }, - { - "text": "shutdown vm pilea-vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start the pilea-vm vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start runbook cleanup-demos-msdn100", - "intent": "DetermineResource", - "entities": [ - { - "entity": "Automation", - "startPos": 2, - "endPos": 6 - } - ] - }, - { - "text": "stop the cloudsvr vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start the cloudsvr vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "remove vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "select subscription onetwo", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop vm pilea-vm", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "show runbook write-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm myserver", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list runbook remove-resourcegroups description", - "intent": "DetermineResource", - "entities": [] - }, - { - "text": "start runbook hello-world", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook", - "intent": "None", - "entities": [] - }, - { - "text": "stop the server01 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list all vms", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown vm 12345", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook psrunbook description", - "intent": "None", - "entities": [] - }, - { - "text": "start vm pilea-vm", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start all vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "choose subscription qa-internal", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start run book", - "intent": "None", - "entities": [] - }, - { - "text": "select the develop01 subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop the abancc23 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "switch subscription to powerbi pre-prod", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 6 - } - ] - }, - { - "text": "stop vm", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "select subscription qa", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start vm \"pilea-vm\"", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "change subscription to wacom devtest", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 4 - } - ] - }, - { - "text": "start vm", - "intent": "None", - "entities": [] - }, - { - "text": "show me my runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook cleanup-demos-msdn100 description", - "intent": "None", - "entities": [] - }, - { - "text": "can you please list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "delete virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "show job15 output", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription production", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm abancc23", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop abancc23 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "shutdown vm", - "intent": "None", - "entities": [] - }, - { - "text": "what's my currrent subscription?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "switch sub to acom pre-prod", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 6 - } - ] - }, - { - "text": "list my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "list vms", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "create virtual machine xysz", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "use the devtest subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "which are my subscriptions?", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "change sub to devtest", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "use subscription pepep", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what is the subscription am i using", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "list virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to x2331atest", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "create vm xyzs", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "use subscription dev-test", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list my runbooks", - "intent": "DetermineResource", - "entities": [] - }, - { - "text": "stop vm winservervm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "change my subscription", - "intent": "UseSubscription", - "entities": [] - }, - { - "text": "what's the subscription am i using", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "logoff", - "intent": "Logout", - "entities": [] - }, - { - "text": "show job1 output", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from accountthatdoesntexists automation account", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine newserver01", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "start the xxy virtual machine", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook psrunbook from non-existentaccount automation account", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xyasda", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "use the xxx subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "use subscription q-internal", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "user subscription 5", - "intent": "UseSubscription", - "entities": [] - }, - { - "text": "remove virtual machine xxxx", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "create vm", - "intent": "None", - "entities": [] - }, - { - "text": "show runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine 12345", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "what is the subscription am i using?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "use subscription", - "intent": "UseSubscription", - "entities": [] - }, - { - "text": "start vm server01", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook prod-dev from qa-internal-2 automation account", - "intent": "None", - "entities": [] - }, - { - "text": "5", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from testez automation account", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "shutdown server05 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "use sub qadev1", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what's the subscription am i using?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "switch subscription to qaprod", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "list subs", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "start vm encta02", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "sign out", - "intent": "Logout", - "entities": [] - }, - { - "text": "stop virtual machine zaraza", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "start the third one", - "intent": "None", - "entities": [] - }, - { - "text": "stop qa-dev-01 virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 5 - } - ] - }, - { - "text": "delete vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown dev012qa1 virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "stop the jauakaka virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "remove vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "what subscription am i using", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "switch sub to dev-internal2", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "run runbook hello-world from autdevqa automation account", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from non-existent-account automation account", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription ximbus deployment test", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "my jobs", - "intent": "None", - "entities": [] - }, - { - "text": "current subscription", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "use subscription manifold-test", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "what are the virtual machines?", - "intent": "None", - "entities": [] - }, - { - "text": "enumerate vms", - "intent": "None", - "entities": [] - }, - { - "text": "start the alalala runbook", - "intent": "None", - "entities": [] - }, - { - "text": "show me the job status", - "intent": "None", - "entities": [] - }, - { - "text": "switch to the dev-test subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "launch runbook testbk01", - "intent": "None", - "entities": [] - }, - { - "text": "stop the qweruw vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run the deded azure runbook", - "intent": "None", - "entities": [] - }, - { - "text": "select the third subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what's my current subscription?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "select the acom-test subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", - "intent": "None", - "entities": [] - }, - { - "text": "help me", - "intent": "Help", - "entities": [] - }, - { - "text": "run the configurevm runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine xxxx", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "logout", - "intent": "Logout", - "entities": [] - }, - { - "text": "start virtual machine kajakakxd", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "signout", - "intent": "Logout", - "entities": [] - }, - { - "text": "shutdown pilea-dev vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "run runbook", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "switch sub to devtest", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "start the abcdef23 vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "switch subscription to x312345", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "log off", - "intent": "Logout", - "entities": [] - }, - { - "text": "what is my current subscription", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "use the second one", - "intent": "UseSubscription", - "entities": [] - }, - { - "text": "stop vm x0324aa", - "intent": "DetermineResource", - "entities": [] - }, - { - "text": "stop server03 virtual machine", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "stop pilea-dev vm", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "log out", - "intent": "Logout", - "entities": [] - }, - { - "text": "shutdown x34-prod virtual machine", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "select the azure training kit subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "what's subscription am i using?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "select subscription 12345", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run azure runbook jujujuj", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestcloud subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "use the dev-test subscription", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "give me the status of a job", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm integration-server", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "select subscription wenham-qa", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "launch the 12314 runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start the x runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start azure runbook mybook", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server1", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what is my current subscription?", - "intent": "CurrentSubscription", - "entities": [] - }, - { - "text": "use subscription devdev", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "status job", - "intent": "None", - "entities": [] - }, - { - "text": "start the yyyy virtual machine", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop vm osisksks214", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook 0101011", - "intent": "None", - "entities": [] - }, - { - "text": "change to the acom-test subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "use the staging-01 subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "change to subscription media service private prod", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 3, - "endPos": 6 - } - ] - }, - { - "text": "use subscription pepe", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start vm 234afsfs", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run the oapapap runbook", - "intent": "None", - "entities": [] - }, - { - "text": "runbook status", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestlab subcription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "help", - "intent": "Help", - "entities": [] - }, - { - "text": "shutdown all virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "stop all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my virtual machines", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown all my vms", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-all-my-resource-groups", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "show runbook aademo-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from azurebot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "start all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "stop all vms from coreos1vm resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 4 - } - ] - }, - { - "text": "stop all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "start all vms from test-ez resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "shutdown all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "stop all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "start all vms from test-ez-rg resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 8 - } - ] - }, - { - "text": "show runbook description", - "intent": "None", - "entities": [] - }, - { - "text": "list my resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "what resource groups do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list my rgs", - "intent": "None", - "entities": [] - }, - { - "text": "what rgs do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list rgs", - "intent": "None", - "entities": [] - }, - { - "text": "list resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "list subsctiptions", - "intent": "ListSubscriptions", - "entities": [] - }, - { - "text": "start all vms from azrbot-development resource group", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 4, - "endPos": 6 - } - ] - }, - { - "text": "select azurebotprod_event subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "select subscription azurebotprod_events", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start all vms from resource group azrbot-development", - "intent": "None", - "entities": [ - { - "entity": "ResourceGroup", - "startPos": 6, - "endPos": 8 - } - ] - }, - { - "text": "select azurebotprod_events subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "switch azurebotprod_events subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "select azurebotvsts_events subscription", - "intent": "UseSubscription", - "entities": [ - { - "entity": "Subscription", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "list my websites", - "intent": "DetermineResource", - "entities": [ - { - "entity": "WebApp", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list my vms", - "intent": "DetermineResource", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - } - ] +{ + "luis_schema_version": "2.1.0", + "versionId": "0.1", + "name": "AzureBot-Root", + "desc": "A bot that can interact with Azure", + "culture": "en-us", + "intents": [ + { + "name": "CurrentSubscription" + }, + { + "name": "Help" + }, + { + "name": "ListSubscriptions" + }, + { + "name": "Logout" + }, + { + "name": "None" + }, + { + "name": "UseSubscription" + } + ], + "entities": [ + { + "name": "Subscription" + } + ], + "composites": [], + "closedLists": [], + "bing_entities": [ + "number", + "ordinal" + ], + "actions": [ + { + "actionName": "UseSubscription", + "intentName": "UseSubscription", + "channel": null, + "actionParameters": [ + { + "parameterName": "subscriptionName", + "entityName": "Subscription", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + } + ], + "model_features": [ + { + "name": "LogoutSynonyms", + "mode": true, + "words": "logout,logoff,signout,log out,log off,sign out", + "activated": true + }, + { + "name": "RGSynonyms", + "mode": true, + "words": "resource group,RG,resource", + "activated": true + }, + { + "name": "RunbookSynonyms", + "mode": true, + "words": "runbook,run book", + "activated": true + }, + { + "name": "ShowList", + "mode": true, + "words": "show,list", + "activated": true + }, + { + "name": "SubscriptionsSynonyms", + "mode": true, + "words": "subscriptions,subs", + "activated": true + }, + { + "name": "SubscriptionSynonyms", + "mode": true, + "words": "subscription,sub", + "activated": true + }, + { + "name": "VmSynonyms", + "mode": true, + "words": "vm,virtual machine,vms,virtual machines", + "activated": true + } + ], + "regex_features": [], + "utterances": [ + { + "text": "hello", + "intent": "None", + "entities": [] + }, + { + "text": "hi", + "intent": "None", + "entities": [] + }, + { + "text": "test", + "intent": "None", + "entities": [] + }, + { + "text": "help", + "intent": "Help", + "entities": [] + }, + { + "text": "help me", + "intent": "Help", + "entities": [] + }, + { + "text": "log out", + "intent": "Logout", + "entities": [] + }, + { + "text": "5", + "intent": "None", + "entities": [] + }, + { + "text": "log off", + "intent": "Logout", + "entities": [] + }, + { + "text": "sign out", + "intent": "Logout", + "entities": [] + }, + { + "text": "logout", + "intent": "Logout", + "entities": [] + }, + { + "text": "create vm", + "intent": "None", + "entities": [] + }, + { + "text": "logoff", + "intent": "Logout", + "entities": [] + }, + { + "text": "list virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm", + "intent": "None", + "entities": [] + }, + { + "text": "list my subs", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "list subscriptions", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "show vms", + "intent": "None", + "entities": [] + }, + { + "text": "list my resource groups", + "intent": "None", + "entities": [] + }, + { + "text": "start vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server1", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "start the yyyy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start the abcdef23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm 234afsfs", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine kajakakxd", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm x0324aa", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine zaraza", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm osisksks214", + "intent": "None", + "entities": [] + }, + { + "text": "stop the qweruw vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the jauakaka virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine 12345", + "intent": "None", + "entities": [] + }, + { + "text": "start the xxy virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine newserver01", + "intent": "None", + "entities": [] + }, + { + "text": "use the devtest subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 14 + } + ] + }, + { + "text": "use subscription production", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 26 + } + ] + }, + { + "text": "select subscription qa", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 21 + } + ] + }, + { + "text": "select the develop01 subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 19 + } + ] + }, + { + "text": "select subscription onetwo", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 25 + } + ] + }, + { + "text": "select subscription 12345", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 24 + } + ] + }, + { + "text": "choose subscription qa-internal", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 30 + } + ] + }, + { + "text": "choose the falkfajsfk subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 20 + } + ] + }, + { + "text": "show me all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "list the vms", + "intent": "None", + "entities": [] + }, + { + "text": "list vm", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook test01", + "intent": "None", + "entities": [] + }, + { + "text": "run the oapapap runbook", + "intent": "None", + "entities": [] + }, + { + "text": "launch runbook testbk01", + "intent": "None", + "entities": [] + }, + { + "text": "launch the 12314 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the alalala runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook 0101011", + "intent": "None", + "entities": [] + }, + { + "text": "run azure runbook jujujuj", + "intent": "None", + "entities": [] + }, + { + "text": "start azure runbook mybook", + "intent": "None", + "entities": [] + }, + { + "text": "run the deded azure runbook", + "intent": "None", + "entities": [] + }, + { + "text": "use the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "enumerate vms", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription devdev", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 22 + } + ] + }, + { + "text": "what are the virtual machines?", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server01", + "intent": "None", + "entities": [] + }, + { + "text": "use the xxx subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 10 + } + ] + }, + { + "text": "use subscription dev-test", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 24 + } + ] + }, + { + "text": "use subscription pepep", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 21 + } + ] + }, + { + "text": "stop abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm abancc23", + "intent": "None", + "entities": [] + }, + { + "text": "stop the server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "list all vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop the abancc23 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm myserver", + "intent": "None", + "entities": [] + }, + { + "text": "show me the subscriptions", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "show subscriptions", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "which are my subscriptions?", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "show all subscriptions", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "select the first subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 15 + } + ] + }, + { + "text": "use the staging-01 subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 17 + } + ] + }, + { + "text": "use the staging subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 14 + } + ] + }, + { + "text": "use subscription pepe", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 20 + } + ] + }, + { + "text": "run the configurevm runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the x runbook", + "intent": "None", + "entities": [] + }, + { + "text": "select the third subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 15 + } + ] + }, + { + "text": "use the second one", + "intent": "UseSubscription", + "entities": [] + }, + { + "text": "start the third one", + "intent": "None", + "entities": [] + }, + { + "text": "signout", + "intent": "Logout", + "entities": [] + }, + { + "text": "remove vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove virtual machine xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xyasda", + "intent": "None", + "entities": [] + }, + { + "text": "create vm xyzs", + "intent": "None", + "entities": [] + }, + { + "text": "create virtual machine xysz", + "intent": "None", + "entities": [] + }, + { + "text": "delete virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start run book", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea-vm virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop virtual machine pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm server-01", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm integration-server", + "intent": "None", + "entities": [] + }, + { + "text": "switch to the dev-test subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 21 + } + ] + }, + { + "text": "change to the acom-test subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 22 + } + ] + }, + { + "text": "select the acom-test subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 19 + } + ] + }, + { + "text": "select subscription wenham-qa", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 28 + } + ] + }, + { + "text": "use subscription manifold-test", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 29 + } + ] + }, + { + "text": "change to subscription media service private prod", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 48 + } + ] + }, + { + "text": "change to subscription ximbus deployment test", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 44 + } + ] + }, + { + "text": "use the ximbustestlab subcription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 20 + } + ] + }, + { + "text": "use the ximbustestcloud subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 22 + } + ] + }, + { + "text": "select the azure training kit subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 11, + "endPos": 28 + } + ] + }, + { + "text": "start vm encta02", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription", + "intent": "UseSubscription", + "entities": [] + }, + { + "text": "user subscription 5", + "intent": "UseSubscription", + "entities": [] + }, + { + "text": "change my subscription", + "intent": "UseSubscription", + "entities": [] + }, + { + "text": "stop vm winservervm", + "intent": "None", + "entities": [] + }, + { + "text": "can you please list my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start vm \"pilea-vm\"", + "intent": "None", + "entities": [] + }, + { + "text": "stop the pilea vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the pilea vm", + "intent": "None", + "entities": [] + }, + { + "text": "start the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop the cloudsvr vm", + "intent": "None", + "entities": [] + }, + { + "text": "start vm cloudsvr", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm cloudsvr", + "intent": "None", + "entities": [] + }, + { + "text": "select dev-test subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 7, + "endPos": 14 + } + ] + }, + { + "text": "show me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "job status", + "intent": "None", + "entities": [] + }, + { + "text": "status job", + "intent": "None", + "entities": [] + }, + { + "text": "my jobs", + "intent": "None", + "entities": [] + }, + { + "text": "runbook status", + "intent": "None", + "entities": [] + }, + { + "text": "show me the job status", + "intent": "None", + "entities": [] + }, + { + "text": "give me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what is my current subscription?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "current subscription", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what's subscription am i using?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what's my current subscription", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what is my current subscription", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what subscription am i using", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what's the subscription am i using?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what is the subscription am i using?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what's the subscription am i using", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what is the subscription am i using", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "what's my currrent subscription?", + "intent": "CurrentSubscription", + "entities": [] + }, + { + "text": "shutdown vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm 12345", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm pilea-vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm 1234", + "intent": "None", + "entities": [] + }, + { + "text": "start server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "start pilea-qa vm", + "intent": "None", + "entities": [] + }, + { + "text": "start server02 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start dev-vm1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop server01 vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop pilea-dev vm", + "intent": "None", + "entities": [] + }, + { + "text": "stop qa-dev-01 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "stop server03 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown server05 vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown pilea-dev vm", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown dev012qa1 virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown x34-prod virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "list subs", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "switch subscription to x312345", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 29 + } + ] + }, + { + "text": "switch sub to dev-internal2", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 26 + } + ] + }, + { + "text": "switch sub to devtest", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 20 + } + ] + }, + { + "text": "switch subscription to qaprod", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 28 + } + ] + }, + { + "text": "use sub qadev1", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 8, + "endPos": 13 + } + ] + }, + { + "text": "use subscription q-internal", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 17, + "endPos": 26 + } + ] + }, + { + "text": "change subscription to x2331atest", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 32 + } + ] + }, + { + "text": "change sub to devtest", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 20 + } + ] + }, + { + "text": "switch sub to acom pre-prod", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 14, + "endPos": 26 + } + ] + }, + { + "text": "change subscription to wacom devtest", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 35 + } + ] + }, + { + "text": "switch subscription to powerbi pre-prod", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 23, + "endPos": 38 + } + ] + }, + { + "text": "start runbook hello-world", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-azuredb", + "intent": "None", + "entities": [] + }, + { + "text": "start run book cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms", + "intent": "None", + "entities": [] + }, + { + "text": "list automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "list my automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook prod-dev from qa-internal-2 automation account", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook hello-world from autdevqa automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from testez automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existent-account automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existentaccount automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from accountthatdoesntexists automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "list my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "list runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show me my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show job15 output", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook cleanup-demos-msdn100 description", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook psrunbook description", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook write-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "list runbook remove-resourcegroups description", + "intent": "None", + "entities": [] + }, + { + "text": "list job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "start cleanup-demos-msdn100 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook remove-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start remove-resourcegroups runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "start all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "stop all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "stop all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all my virtual machines", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all my vms", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-all-my-resource-groups", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from azurebot-development resource group", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook aademo-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from azurebot-development resource group", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from azurebot-development resource group", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from test-ez resource group", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from coreos1vm resource group", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from coreos1vm resource group", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from coreos1vm resource group", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from test-ez resource group", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from test-ez resource group", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from test-ez-rg resource group", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from test-ez-rg resource group", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from test-ez-rg resource group", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook description", + "intent": "None", + "entities": [] + }, + { + "text": "what resource groups do i have?", + "intent": "None", + "entities": [] + }, + { + "text": "list my rgs", + "intent": "None", + "entities": [] + }, + { + "text": "what rgs do i have?", + "intent": "None", + "entities": [] + }, + { + "text": "list rgs", + "intent": "None", + "entities": [] + }, + { + "text": "list resource groups", + "intent": "None", + "entities": [] + }, + { + "text": "list subsctiptions", + "intent": "ListSubscriptions", + "entities": [] + }, + { + "text": "switch subscription", + "intent": "UseSubscription", + "entities": [] + }, + { + "text": "start all vms from azrbot-development resource group", + "intent": "None", + "entities": [] + }, + { + "text": "select azurebotprod_event subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 7, + "endPos": 24 + } + ] + }, + { + "text": "select subscription azurebotprod_events", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 38 + } + ] + }, + { + "text": "start all vms from resource group azrbot-development", + "intent": "None", + "entities": [] + }, + { + "text": "select azurebotprod_events subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 7, + "endPos": 25 + } + ] + }, + { + "text": "switch azurebotprod_events subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 7, + "endPos": 25 + } + ] + }, + { + "text": "select azurebotvsts_events subscription", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 7, + "endPos": 25 + } + ] + }, + { + "text": "list my websites", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from notfound resource group", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription notfound", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 27 + } + ] + }, + { + "text": "switch subscription azurebotprod_events", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 38 + } + ] + }, + { + "text": "switch subscription azurebotvsts_events", + "intent": "UseSubscription", + "entities": [ + { + "entity": "Subscription", + "startPos": 20, + "endPos": 38 + } + ] + }, + { + "text": "start vm notfound-start", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm notfound-shutdown", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm notfound-stop", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook notfound description", + "intent": "None", + "entities": [] + } + ] } \ No newline at end of file diff --git a/AzureBot/LuisModel/AzureBot-VMs.json b/AzureBot/LuisModel/AzureBot-VMs.json index e5b7cd7..f377a8a 100644 --- a/AzureBot/LuisModel/AzureBot-VMs.json +++ b/AzureBot/LuisModel/AzureBot-VMs.json @@ -1,1682 +1,1932 @@ -{ - "luis_schema_version": "1.3.0", - "name": "AzureBot-VMs", - "desc": "A bot that can interact with Azure", - "culture": "en-us", - "intents": [ - { - "name": "ListVms" - }, - { - "name": "None" - }, - { - "name": "ShutdownAllVms" - }, - { - "name": "ShutdownVm" - }, - { - "name": "StartAllVms" - }, - { - "name": "StartVm" - }, - { - "name": "StopAllVms" - }, - { - "name": "StopVm" - } - ], - "entities": [ - { - "name": "VirtualMachine" - } - ], - "composites": [], - "bing_entities": [ - "number", - "ordinal" - ], - "actions": [ - { - "actionName": "ShutdownVm", - "intentName": "ShutdownVm", - "actionParameters": [ - { - "parameterName": "vmName", - "entityName": "VirtualMachine", - "required": false - } - ] - }, - { - "actionName": "StartVm", - "intentName": "StartVm", - "actionParameters": [ - { - "parameterName": "vmName", - "entityName": "VirtualMachine", - "required": false - } - ] - }, - { - "actionName": "StopVm", - "intentName": "StopVm", - "actionParameters": [ - { - "parameterName": "vmName", - "entityName": "VirtualMachine", - "required": false - } - ] - } - ], - "model_features": [ - { - "name": "VmSynonyms", - "mode": true, - "words": "vm,virtual machine,vms,virtual machines", - "activated": true - }, - { - "name": "ShowList", - "mode": true, - "words": "show,list", - "activated": true - } - ], - "regex_features": [], - "utterances": [ - { - "text": "user subscription 5", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm abancc23", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "delete virtual machine", - "intent": "None", - "entities": [] - }, - { - "text": "what subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to dev-internal2", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription 12345", - "intent": "None", - "entities": [] - }, - { - "text": "show job1 output", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm", - "intent": "None", - "entities": [] - }, - { - "text": "what is my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from accountthatdoesntexists automation account", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to x312345", - "intent": "None", - "entities": [] - }, - { - "text": "hi", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription", - "intent": "None", - "entities": [] - }, - { - "text": "create virtual machine xysz", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "create vm xyzs", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook psrunbook from non-existentaccount automation account", - "intent": "None", - "entities": [] - }, - { - "text": "list subs", - "intent": "None", - "entities": [] - }, - { - "text": "stop abancc23 vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start vm encta02", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "select subscription onetwo", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook psrunbook from testez automation account", - "intent": "None", - "entities": [] - }, - { - "text": "current subscription", - "intent": "None", - "entities": [] - }, - { - "text": "hello", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestcloud subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook", - "intent": "None", - "entities": [] - }, - { - "text": "remove virtual machine xxxx", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "shutdown dev012qa1 virtual machine", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "shutdown x34-prod virtual machine", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "what's subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "select the azure training kit subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select the develop01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepep", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xyasda", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start runbook psrunbook from non-existent-account automation account", - "intent": "None", - "entities": [] - }, - { - "text": "what is my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook hello-world from autdevqa automation account", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm", - "intent": "StopVm", - "entities": [] - }, - { - "text": "shutdown pilea-dev vm", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "delete vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "what's my current subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription ximbus deployment test", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown server05 vm", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start run book cleanup-demos-msdn100", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription dev-test", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription qa", - "intent": "None", - "entities": [] - }, - { - "text": "use the ximbustestlab subcription", - "intent": "None", - "entities": [] - }, - { - "text": "remove vm xxxx", - "intent": "None", - "entities": [] - }, - { - "text": "my jobs", - "intent": "None", - "entities": [] - }, - { - "text": "select the third subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook prod-dev from qa-internal-2 automation account", - "intent": "None", - "entities": [] - }, - { - "text": "start vm", - "intent": "StartVm", - "entities": [] - }, - { - "text": "stop server01 vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "start runbook cleanup-demos-msdn100", - "intent": "None", - "entities": [] - }, - { - "text": "change to subscription media service private prod", - "intent": "None", - "entities": [] - }, - { - "text": "stop server03 virtual machine", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "select the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "signout", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-azuredb", - "intent": "None", - "entities": [] - }, - { - "text": "give me the status of a job", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription production", - "intent": "None", - "entities": [] - }, - { - "text": "use the xxx subscription", - "intent": "None", - "entities": [] - }, - { - "text": "status job", - "intent": "None", - "entities": [] - }, - { - "text": "start the third one", - "intent": "StartVm", - "entities": [] - }, - { - "text": "start the x runbook", - "intent": "None", - "entities": [] - }, - { - "text": "show me the job status", - "intent": "None", - "entities": [] - }, - { - "text": "list my virtual machines", - "intent": "ListVms", - "entities": [] - }, - { - "text": "start dev-vm1 virtual machine", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "stop qa-dev-01 virtual machine", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 5 - } - ] - }, - { - "text": "list my automation accounts", - "intent": "None", - "entities": [] - }, - { - "text": "use the devtest subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server01", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "job status", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook hello-world", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription manifold-test", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook restore-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "change to the acom-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the second one", - "intent": "None", - "entities": [] - }, - { - "text": "run the configurevm runbook", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to powerbi pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start run book restore-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription wenham-qa", - "intent": "None", - "entities": [] - }, - { - "text": "runbook status", - "intent": "None", - "entities": [] - }, - { - "text": "start virtual machine newserver01", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "list automation accounts", - "intent": "None", - "entities": [] - }, - { - "text": "show me the status of a job", - "intent": "None", - "entities": [] - }, - { - "text": "what are the virtual machines?", - "intent": "ListVms", - "entities": [] - }, - { - "text": "list vms", - "intent": "ListVms", - "entities": [] - }, - { - "text": "stop pilea-dev vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "switch to the dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start server02 virtual machine", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "what's the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "use subscription pepe", - "intent": "None", - "entities": [] - }, - { - "text": "change subscription to wacom devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start server01 vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 1 - } - ] - }, - { - "text": "stop vm integration-server", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "switch sub to acom pre-prod", - "intent": "None", - "entities": [] - }, - { - "text": "start the xxy virtual machine", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start pilea-qa vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 1, - "endPos": 3 - } - ] - }, - { - "text": "can you please list my virtual machines", - "intent": "ListVms", - "entities": [] - }, - { - "text": "select dev-test subscription", - "intent": "None", - "entities": [] - }, - { - "text": "use the staging subscription", - "intent": "None", - "entities": [] - }, - { - "text": "list virtual machines", - "intent": "ListVms", - "entities": [] - }, - { - "text": "use subscription devdev", - "intent": "None", - "entities": [] - }, - { - "text": "start vm server-01", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "what is the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "start vm pilea-vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "shutdown vm 1234", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "change sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "enumerate vms", - "intent": "ListVms", - "entities": [] - }, - { - "text": "stop vm cloudsvr", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop vm winservervm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop virtual machine pilea-vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "use the staging-01 subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch the 12314 runbook", - "intent": "None", - "entities": [] - }, - { - "text": "logoff", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine 12345", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "stop the abancc23 vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "choose the falkfajsfk subscription", - "intent": "None", - "entities": [] - }, - { - "text": "choose subscription qa-internal", - "intent": "None", - "entities": [] - }, - { - "text": "run runbook", - "intent": "None", - "entities": [] - }, - { - "text": "create vm", - "intent": "None", - "entities": [] - }, - { - "text": "stop the jauakaka virtual machine", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list all vms", - "intent": "ListVms", - "entities": [] - }, - { - "text": "use the dev-test subscription", - "intent": "None", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start virtual machine pilea-vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "shutdown vm pilea-vm", - "intent": "ShutdownVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "change subscription to x2331atest", - "intent": "None", - "entities": [] - }, - { - "text": "select the first subscription", - "intent": "None", - "entities": [] - }, - { - "text": "start vm cloudsvr", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "change my subscription", - "intent": "None", - "entities": [] - }, - { - "text": "launch runbook testbk01", - "intent": "None", - "entities": [] - }, - { - "text": "what's the subscription am i using?", - "intent": "None", - "entities": [] - }, - { - "text": "start run book", - "intent": "None", - "entities": [] - }, - { - "text": "logout", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea-vm virtual machine", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "run the deded azure runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start vm 234afsfs", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run the oapapap runbook", - "intent": "None", - "entities": [] - }, - { - "text": "help", - "intent": "None", - "entities": [] - }, - { - "text": "stop the cloudsvr vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "use subscription q-internal", - "intent": "None", - "entities": [] - }, - { - "text": "stop the server01 vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "stop the qweruw vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "show all subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "shutdown virtual machine", - "intent": "ShutdownVm", - "entities": [] - }, - { - "text": "shutdown vm 12345", - "intent": "ShutdownVm", - "entities": [] - }, - { - "text": "use sub qadev1", - "intent": "None", - "entities": [] - }, - { - "text": "start azure runbook mybook", - "intent": "None", - "entities": [] - }, - { - "text": "sign out", - "intent": "None", - "entities": [] - }, - { - "text": "start the abcdef23 vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "run runbook test01", - "intent": "None", - "entities": [] - }, - { - "text": "start the cloudsvr vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start the pilea-vm virtual machine", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "which are my subscriptions?", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm osisksks214", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "show subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "switch subscription to qaprod", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "shutdown vm", - "intent": "ShutdownVm", - "entities": [] - }, - { - "text": "start the yyyy virtual machine", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "log off", - "intent": "None", - "entities": [] - }, - { - "text": "stop virtual machine zaraza", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "stop the pilea-vm vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "list vm", - "intent": "ListVms", - "entities": [] - }, - { - "text": "run azure runbook jujujuj", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook 0101011", - "intent": "None", - "entities": [] - }, - { - "text": "start the pilea-vm vm", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "show me the subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "stop the pilea vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "list the vms", - "intent": "ListVms", - "entities": [] - }, - { - "text": "start virtual machine xxxx", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "stop vm x0324aa", - "intent": "StopVm", - "entities": [] - }, - { - "text": "what's my currrent subscription?", - "intent": "None", - "entities": [] - }, - { - "text": "5", - "intent": "None", - "entities": [] - }, - { - "text": "switch sub to devtest", - "intent": "None", - "entities": [] - }, - { - "text": "start vm \"pilea-vm\"", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 5 - } - ] - }, - { - "text": "stop vm myserver", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "what is the subscription am i using", - "intent": "None", - "entities": [] - }, - { - "text": "stop vm pilea-vm", - "intent": "StopVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 4 - } - ] - }, - { - "text": "start the alalala runbook", - "intent": "None", - "entities": [] - }, - { - "text": "list the virtual machines", - "intent": "ListVms", - "entities": [] - }, - { - "text": "start vm server1", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "start virtual machine kajakakxd", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 3, - "endPos": 3 - } - ] - }, - { - "text": "log out", - "intent": "None", - "entities": [] - }, - { - "text": "show me all virtual machines", - "intent": "ListVms", - "entities": [] - }, - { - "text": "start vm myserver", - "intent": "StartVm", - "entities": [ - { - "entity": "VirtualMachine", - "startPos": 2, - "endPos": 2 - } - ] - }, - { - "text": "help me", - "intent": "None", - "entities": [] - }, - { - "text": "show vms", - "intent": "ListVms", - "entities": [] - }, - { - "text": "list subscriptions", - "intent": "None", - "entities": [] - }, - { - "text": "list my subs", - "intent": "None", - "entities": [] - }, - { - "text": "delete vm", - "intent": "None", - "entities": [] - }, - { - "text": "test", - "intent": "None", - "entities": [] - }, - { - "text": "list my runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "list runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show me my runbooks", - "intent": "None", - "entities": [] - }, - { - "text": "show job15 output", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook cleanup-demos-msdn100 description", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook psrunbook description", - "intent": "None", - "entities": [] - }, - { - "text": "show runbook write-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "list runbook remove-resourcegroups description", - "intent": "None", - "entities": [] - }, - { - "text": "list job1 output", - "intent": "None", - "entities": [] - }, - { - "text": "start cleanup-demos-msdn100 runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start runbook remove-resourcegroups", - "intent": "None", - "entities": [] - }, - { - "text": "start remove-resourcegroups runbook", - "intent": "None", - "entities": [] - }, - { - "text": "start all virtual machines", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "start all vms", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "start all my virtual machines", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "start all my vms", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "stop all virtual machines", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "shutdown all virtual machines", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "stop all vms", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "stop all my virtual machines", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "stop all my vms", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "shutdown all my virtual machines", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "shutdown all my vms", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "start runbook cleanup-all-my-resource-groups", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azurebot-development resource group", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "show runbook aademo-helloworld description", - "intent": "None", - "entities": [] - }, - { - "text": "stop all vms from azurebot-development resource group", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "shutdown all vms from azurebot-development resource group", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "shutdown all vms from test-ez resource group", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "shutdown all vms from coreos1vm resource group", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "start all vms from coreos1vm resource group", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "stop all vms from coreos1vm resource group", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "stop all vms from test-ez resource group", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "start all vms from test-ez resource group", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "shutdown all vms from test-ez-rg resource group", - "intent": "ShutdownAllVms", - "entities": [] - }, - { - "text": "stop all vms from test-ez-rg resource group", - "intent": "StopAllVms", - "entities": [] - }, - { - "text": "start all vms from test-ez-rg resource group", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "show runbook description", - "intent": "None", - "entities": [] - }, - { - "text": "list my resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "what resource groups do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list my rgs", - "intent": "None", - "entities": [] - }, - { - "text": "what rgs do i have?", - "intent": "None", - "entities": [] - }, - { - "text": "list rgs", - "intent": "None", - "entities": [] - }, - { - "text": "list resource groups", - "intent": "None", - "entities": [] - }, - { - "text": "list subsctiptions", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from azrbot-development resource group", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "select azurebotprod_event subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select subscription azurebotprod_events", - "intent": "None", - "entities": [] - }, - { - "text": "start all vms from resource group azrbot-development", - "intent": "StartAllVms", - "entities": [] - }, - { - "text": "select azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "switch azurebotprod_events subscription", - "intent": "None", - "entities": [] - }, - { - "text": "select azurebotvsts_events subscription", - "intent": "None", - "entities": [] - } - ] +{ + "luis_schema_version": "2.1.0", + "versionId": "0.1", + "name": "AzureBot-VMs", + "desc": "A bot that can interact with Azure", + "culture": "en-us", + "intents": [ + { + "name": "ListVms" + }, + { + "name": "None" + }, + { + "name": "ShutdownAllVms" + }, + { + "name": "ShutdownVm" + }, + { + "name": "StartAllVms" + }, + { + "name": "StartVm" + }, + { + "name": "StopAllVms" + }, + { + "name": "StopVm" + } + ], + "entities": [ + { + "name": "ResourceGroup" + }, + { + "name": "VirtualMachine" + } + ], + "composites": [], + "closedLists": [], + "bing_entities": [ + "number", + "ordinal" + ], + "actions": [ + { + "actionName": "ShutdownVm", + "intentName": "ShutdownVm", + "channel": null, + "actionParameters": [ + { + "parameterName": "vmName", + "entityName": "VirtualMachine", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + }, + { + "actionName": "StartVm", + "intentName": "StartVm", + "channel": null, + "actionParameters": [ + { + "parameterName": "vmName", + "entityName": "VirtualMachine", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + }, + { + "actionName": "StopVm", + "intentName": "StopVm", + "channel": null, + "actionParameters": [ + { + "parameterName": "vmName", + "entityName": "VirtualMachine", + "required": false, + "question": null, + "phraseListFeatureName": null + } + ] + } + ], + "model_features": [ + { + "name": "ShowList", + "mode": true, + "words": "show,list", + "activated": true + }, + { + "name": "VmSynonyms", + "mode": true, + "words": "vm,virtual machine,vms,virtual machines", + "activated": true + } + ], + "regex_features": [], + "utterances": [ + { + "text": "hello", + "intent": "None", + "entities": [] + }, + { + "text": "hi", + "intent": "None", + "entities": [] + }, + { + "text": "test", + "intent": "None", + "entities": [] + }, + { + "text": "help", + "intent": "None", + "entities": [] + }, + { + "text": "help me", + "intent": "None", + "entities": [] + }, + { + "text": "log out", + "intent": "None", + "entities": [] + }, + { + "text": "5", + "intent": "None", + "entities": [] + }, + { + "text": "log off", + "intent": "None", + "entities": [] + }, + { + "text": "sign out", + "intent": "None", + "entities": [] + }, + { + "text": "logout", + "intent": "None", + "entities": [] + }, + { + "text": "create vm", + "intent": "None", + "entities": [] + }, + { + "text": "logoff", + "intent": "None", + "entities": [] + }, + { + "text": "list virtual machines", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list my vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list my virtual machines", + "intent": "ListVms", + "entities": [] + }, + { + "text": "start vm", + "intent": "StartVm", + "entities": [] + }, + { + "text": "stop vm", + "intent": "StopVm", + "entities": [] + }, + { + "text": "start runbook", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm", + "intent": "None", + "entities": [] + }, + { + "text": "list my subs", + "intent": "None", + "entities": [] + }, + { + "text": "list subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list my resource groups", + "intent": "None", + "entities": [] + }, + { + "text": "start vm myserver", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "start vm server1", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 15 + } + ] + }, + { + "text": "start virtual machine xxxx", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 22, + "endPos": 25 + } + ] + }, + { + "text": "start the yyyy virtual machine", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 13 + } + ] + }, + { + "text": "start the abcdef23 vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 17 + } + ] + }, + { + "text": "start vm 234afsfs", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "start virtual machine kajakakxd", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 22, + "endPos": 30 + } + ] + }, + { + "text": "stop vm x0324aa", + "intent": "StopVm", + "entities": [] + }, + { + "text": "stop virtual machine zaraza", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 21, + "endPos": 26 + } + ] + }, + { + "text": "stop vm osisksks214", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 18 + } + ] + }, + { + "text": "stop the qweruw vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 14 + } + ] + }, + { + "text": "stop the jauakaka virtual machine", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "stop virtual machine 12345", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 21, + "endPos": 25 + } + ] + }, + { + "text": "start the xxy virtual machine", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 12 + } + ] + }, + { + "text": "start virtual machine newserver01", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 22, + "endPos": 32 + } + ] + }, + { + "text": "use the devtest subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription production", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription qa", + "intent": "None", + "entities": [] + }, + { + "text": "select the develop01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription onetwo", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription 12345", + "intent": "None", + "entities": [] + }, + { + "text": "choose subscription qa-internal", + "intent": "None", + "entities": [] + }, + { + "text": "choose the falkfajsfk subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me all virtual machines", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list the virtual machines", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list the vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "list vm", + "intent": "ListVms", + "entities": [] + }, + { + "text": "run runbook test01", + "intent": "None", + "entities": [] + }, + { + "text": "run the oapapap runbook", + "intent": "None", + "entities": [] + }, + { + "text": "launch runbook testbk01", + "intent": "None", + "entities": [] + }, + { + "text": "launch the 12314 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the alalala runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook 0101011", + "intent": "None", + "entities": [] + }, + { + "text": "run azure runbook jujujuj", + "intent": "None", + "entities": [] + }, + { + "text": "start azure runbook mybook", + "intent": "None", + "entities": [] + }, + { + "text": "run the deded azure runbook", + "intent": "None", + "entities": [] + }, + { + "text": "use the dev-test subscription", + "intent": "None", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 15 + } + ] + }, + { + "text": "enumerate vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "use subscription devdev", + "intent": "None", + "entities": [] + }, + { + "text": "what are the virtual machines?", + "intent": "ListVms", + "entities": [] + }, + { + "text": "start vm server01", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "use the xxx subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription dev-test", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepep", + "intent": "None", + "entities": [] + }, + { + "text": "stop abancc23 vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 5, + "endPos": 12 + } + ] + }, + { + "text": "stop vm abancc23", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 15 + } + ] + }, + { + "text": "stop the server01 vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "list all vms", + "intent": "ListVms", + "entities": [] + }, + { + "text": "stop the abancc23 vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "stop vm myserver", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 15 + } + ] + }, + { + "text": "show me the subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "show subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "which are my subscriptions?", + "intent": "None", + "entities": [] + }, + { + "text": "show all subscriptions", + "intent": "None", + "entities": [] + }, + { + "text": "select the first subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging-01 subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the staging subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription pepe", + "intent": "None", + "entities": [] + }, + { + "text": "run the configurevm runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start the x runbook", + "intent": "None", + "entities": [] + }, + { + "text": "select the third subscription", + "intent": "None", + "entities": [] + }, + { + "text": "use the second one", + "intent": "None", + "entities": [] + }, + { + "text": "start the third one", + "intent": "StartVm", + "entities": [] + }, + { + "text": "signout", + "intent": "None", + "entities": [] + }, + { + "text": "remove vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "delete vm xxxx", + "intent": "None", + "entities": [] + }, + { + "text": "remove virtual machine xxxx", + "intent": "None", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 23, + "endPos": 26 + } + ] + }, + { + "text": "remove vm xyasda", + "intent": "None", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 15 + } + ] + }, + { + "text": "create vm xyzs", + "intent": "None", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 13 + } + ] + }, + { + "text": "create virtual machine xysz", + "intent": "None", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 23, + "endPos": 26 + } + ] + }, + { + "text": "delete virtual machine", + "intent": "None", + "entities": [] + }, + { + "text": "start run book", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start vm pilea-vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "stop vm pilea-vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 15 + } + ] + }, + { + "text": "start the pilea-vm vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 17 + } + ] + }, + { + "text": "stop the pilea-vm vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "start the pilea-vm virtual machine", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 17 + } + ] + }, + { + "text": "stop the pilea-vm virtual machine", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "start virtual machine pilea-vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 22, + "endPos": 29 + } + ] + }, + { + "text": "stop virtual machine pilea-vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 21, + "endPos": 28 + } + ] + }, + { + "text": "start vm server-01", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 17 + } + ] + }, + { + "text": "stop vm integration-server", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 25 + } + ] + }, + { + "text": "switch to the dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "change to the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the acom-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription wenham-qa", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription manifold-test", + "intent": "None", + "entities": [] + }, + { + "text": "change to subscription media service private prod", + "intent": "None", + "entities": [] + }, + { + "text": "change to subscription ximbus deployment test", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestlab subcription", + "intent": "None", + "entities": [] + }, + { + "text": "use the ximbustestcloud subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select the azure training kit subscription", + "intent": "None", + "entities": [] + }, + { + "text": "start vm encta02", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 15 + } + ] + }, + { + "text": "use subscription", + "intent": "None", + "entities": [] + }, + { + "text": "user subscription 5", + "intent": "None", + "entities": [] + }, + { + "text": "change my subscription", + "intent": "None", + "entities": [] + }, + { + "text": "stop vm winservervm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 18 + } + ] + }, + { + "text": "can you please list my virtual machines", + "intent": "ListVms", + "entities": [] + }, + { + "text": "start vm \"pilea-vm\"", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 17 + } + ] + }, + { + "text": "stop the pilea vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 13 + } + ] + }, + { + "text": "start the pilea vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 14 + } + ] + }, + { + "text": "start the cloudsvr vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 10, + "endPos": 17 + } + ] + }, + { + "text": "stop the cloudsvr vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "start vm cloudsvr", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "stop vm cloudsvr", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 15 + } + ] + }, + { + "text": "select dev-test subscription", + "intent": "None", + "entities": [] + }, + { + "text": "show me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "job status", + "intent": "None", + "entities": [] + }, + { + "text": "status job", + "intent": "None", + "entities": [] + }, + { + "text": "my jobs", + "intent": "None", + "entities": [] + }, + { + "text": "runbook status", + "intent": "None", + "entities": [] + }, + { + "text": "show me the job status", + "intent": "None", + "entities": [] + }, + { + "text": "give me the status of a job", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what's subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what is my current subscription", + "intent": "None", + "entities": [] + }, + { + "text": "what subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using?", + "intent": "None", + "entities": [] + }, + { + "text": "what's the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what is the subscription am i using", + "intent": "None", + "entities": [] + }, + { + "text": "what's my currrent subscription?", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown vm", + "intent": "ShutdownVm", + "entities": [] + }, + { + "text": "shutdown vm 12345", + "intent": "ShutdownVm", + "entities": [] + }, + { + "text": "shutdown virtual machine", + "intent": "ShutdownVm", + "entities": [] + }, + { + "text": "shutdown vm pilea-vm", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 12, + "endPos": 19 + } + ] + }, + { + "text": "shutdown vm 1234", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 12, + "endPos": 15 + } + ] + }, + { + "text": "start server01 vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 6, + "endPos": 13 + } + ] + }, + { + "text": "start pilea-qa vm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 6, + "endPos": 13 + } + ] + }, + { + "text": "start server02 virtual machine", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 6, + "endPos": 13 + } + ] + }, + { + "text": "start dev-vm1 virtual machine", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 6, + "endPos": 12 + } + ] + }, + { + "text": "stop server01 vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 5, + "endPos": 12 + } + ] + }, + { + "text": "stop pilea-dev vm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 5, + "endPos": 13 + } + ] + }, + { + "text": "stop qa-dev-01 virtual machine", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 5, + "endPos": 13 + } + ] + }, + { + "text": "stop server03 virtual machine", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 5, + "endPos": 12 + } + ] + }, + { + "text": "shutdown server05 vm", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "shutdown pilea-dev vm", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 17 + } + ] + }, + { + "text": "shutdown dev012qa1 virtual machine", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 17 + } + ] + }, + { + "text": "shutdown x34-prod virtual machine", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 16 + } + ] + }, + { + "text": "list subs", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to x312345", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to dev-internal2", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to qaprod", + "intent": "None", + "entities": [] + }, + { + "text": "use sub qadev1", + "intent": "None", + "entities": [] + }, + { + "text": "use subscription q-internal", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to x2331atest", + "intent": "None", + "entities": [] + }, + { + "text": "change sub to devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch sub to acom pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "change subscription to wacom devtest", + "intent": "None", + "entities": [] + }, + { + "text": "switch subscription to powerbi pre-prod", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook hello-world", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook restore-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start run book restore-azuredb", + "intent": "None", + "entities": [] + }, + { + "text": "start run book cleanup-demos-msdn100", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "list automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "list my automation accounts", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook prod-dev from qa-internal-2 automation account", + "intent": "None", + "entities": [] + }, + { + "text": "run runbook hello-world from autdevqa automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook aadscdemo-get-wunderlistuser from stefstrauto automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from testez automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existent-account automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from non-existentaccount automation account", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook psrunbook from accountthatdoesntexists automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "list my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "list runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show me my runbooks", + "intent": "None", + "entities": [] + }, + { + "text": "show job15 output", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook cleanup-demos-msdn100 description", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook cleanup-demos-msdn100 from devops-automation automation account", + "intent": "None", + "entities": [] + }, + { + "text": "show runbook psrunbook description", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "show runbook write-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "list runbook remove-resourcegroups description", + "intent": "None", + "entities": [] + }, + { + "text": "list job1 output", + "intent": "None", + "entities": [] + }, + { + "text": "start cleanup-demos-msdn100 runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start runbook remove-resourcegroups", + "intent": "None", + "entities": [] + }, + { + "text": "start remove-resourcegroups runbook", + "intent": "None", + "entities": [] + }, + { + "text": "start all virtual machines", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "start all my virtual machines", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "start all my vms", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "stop all virtual machines", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "shutdown all virtual machines", + "intent": "ShutdownAllVms", + "entities": [] + }, + { + "text": "stop all my virtual machines", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "stop all my vms", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "shutdown all my virtual machines", + "intent": "ShutdownAllVms", + "entities": [] + }, + { + "text": "shutdown all my vms", + "intent": "ShutdownAllVms", + "entities": [] + }, + { + "text": "start runbook cleanup-all-my-resource-groups", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from azurebot-development resource group", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "show runbook aademo-helloworld description", + "intent": "None", + "entities": [] + }, + { + "text": "stop all vms from azurebot-development resource group", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "shutdown all vms from azurebot-development resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 41 + } + ] + }, + { + "text": "shutdown all vms from test-ez resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 28 + } + ] + }, + { + "text": "shutdown all vms from coreos1vm resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 30 + } + ] + }, + { + "text": "start all vms from coreos1vm resource group", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "stop all vms from coreos1vm resource group", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "stop all vms from test-ez resource group", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "start all vms from test-ez resource group", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "shutdown all vms from test-ez-rg resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 31 + } + ] + }, + { + "text": "stop all vms from test-ez-rg resource group", + "intent": "StopAllVms", + "entities": [] + }, + { + "text": "start all vms from test-ez-rg resource group", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "show runbook description", + "intent": "None", + "entities": [] + }, + { + "text": "what resource groups do i have?", + "intent": "None", + "entities": [] + }, + { + "text": "list my rgs", + "intent": "None", + "entities": [] + }, + { + "text": "what rgs do i have?", + "intent": "None", + "entities": [] + }, + { + "text": "list rgs", + "intent": "None", + "entities": [] + }, + { + "text": "list resource groups", + "intent": "None", + "entities": [] + }, + { + "text": "list subsctiptions", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from azrbot-development resource group", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "select azurebotprod_event subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select subscription azurebotprod_events", + "intent": "None", + "entities": [] + }, + { + "text": "start all vms from resource group azrbot-development", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "select azurebotprod_events subscription", + "intent": "None", + "entities": [] + }, + { + "text": "switch azurebotprod_events subscription", + "intent": "None", + "entities": [] + }, + { + "text": "select azurebotvsts_events subscription", + "intent": "None", + "entities": [] + }, + { + "text": "please start all of my virutual machines", + "intent": "StartAllVms", + "entities": [] + }, + { + "text": "yo tell me all of my vms now!", + "intent": "ListVms", + "entities": [] + }, + { + "text": "start all vms from notfound resource group", + "intent": "StartAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 19, + "endPos": 26 + } + ] + }, + { + "text": "stop all vms from notfound resource group", + "intent": "StopAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 25 + } + ] + }, + { + "text": "shutdown all vms from notfound resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 29 + } + ] + }, + { + "text": "shutdown all vms from azrbot-development resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 39 + } + ] + }, + { + "text": "stop all vms from azrbot-development resource group", + "intent": "StopAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 18, + "endPos": 35 + } + ] + }, + { + "text": "start vm notfound-start", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 22 + } + ] + }, + { + "text": "shutdown vm notfound-shutdown", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 12, + "endPos": 28 + } + ] + }, + { + "text": "stop vm notfound-stop", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 20 + } + ] + }, + { + "text": "shutdown all vms", + "intent": "ShutdownAllVms", + "entities": [] + }, + { + "text": "shutdown all vms from test123 resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 28 + } + ] + }, + { + "text": "shutdown vm linuxvm", + "intent": "ShutdownVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 12, + "endPos": 18 + } + ] + }, + { + "text": "start vm linuxvm", + "intent": "StartVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 9, + "endPos": 15 + } + ] + }, + { + "text": "stop vm linuxvm", + "intent": "StopVm", + "entities": [ + { + "entity": "VirtualMachine", + "startPos": 8, + "endPos": 14 + } + ] + }, + { + "text": "i love azurebot", + "intent": "None", + "entities": [] + }, + { + "text": "shutdown all vms from test-123 resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 29 + } + ] + }, + { + "text": "shutdown all vms from 432-myrg resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 29 + } + ] + }, + { + "text": "shutdown all vms from azure-test resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 31 + } + ] + }, + { + "text": "shutdown all vms from test-azure resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 31 + } + ] + }, + { + "text": "shutdown all vms from myrg-west resource group", + "intent": "ShutdownAllVms", + "entities": [ + { + "entity": "ResourceGroup", + "startPos": 22, + "endPos": 30 + } + ] + } + ] } \ No newline at end of file diff --git a/AzureBot/Web.config b/AzureBot/Web.config index e5cb769..a83b1d2 100644 --- a/AzureBot/Web.config +++ b/AzureBot/Web.config @@ -21,6 +21,12 @@ + + + + + +