This commit is contained in:
Bo Peng 2018-06-21 14:54:42 -05:00
commit cf7bae8893
50 changed files with 11177 additions and 571 deletions

View file

@ -93,6 +93,7 @@ namespace BotSharp.Core.Agents
{
Intent = intent.Name,
Text = String.Join("", exp.Data.OrderBy(x => x.UpdatedTime).Select(x => x.Text)),
ContextHash = intent.ContextHash
};
// convert entity format
@ -137,93 +138,8 @@ namespace BotSharp.Core.Agents
});
});
return trainingData;
}
public static RasaTrainingData GrabCorpusPerContexts(this Agent agent, Database dc, List<AIContext> ctx)
{
var trainingData = new RasaTrainingData
{
Entities = new List<RasaTraningEntity>(),
UserSays = new List<RasaIntentExpression>()
};
var expressParts = new List<IntentExpressionPart>();
var intents = dc.Table<Intent>()
.Include(x => x.Contexts)
.Include(x => x.UserSays).ThenInclude(say => say.Data)
.Where(x => x.UserSays.Count > 0)
.ToList();
var contexts = ctx.OrderBy(x => x.Name).Select(x => x.Name.ToLower()).ToList();
// search all potential intents which input context included in contexts
intents = intents.Where(it =>
{
if (contexts.Count == 0)
{
return it.Contexts.Count() == 0;
}
else
{
return it.Contexts.Count() > 0 && it.Contexts.Count(x => contexts.Contains(x.Name.ToLower())) == it.Contexts.Count;
}
}).OrderByDescending(x => x.Contexts.Count).ToList();
intents.ForEach(intent =>
{
intent.UserSays.ForEach(exp =>
{
var say = new RasaIntentExpression
{
Intent = intent.Name,
Text = String.Join("", exp.Data.OrderBy(x => x.UpdatedTime).Select(x => x.Text)),
};
// convert entity format
exp.Data.Where(x => !String.IsNullOrEmpty(x.Meta))
.ToList()
.ForEach(x =>
{
int start = say.Text.IndexOf(x.Text);
var part = new RasaIntentExpressionPart
{
Value = x.Text,
Entity = x.Alias,
Start = start,
End = start + x.Text.Length
};
if (say.Entities == null) say.Entities = new List<RasaIntentExpressionPart>();
say.Entities.Add(part);
// assemble entity synonmus
if (!trainingData.Entities.Any(y => y.EntityType == x.Alias && y.EntityValue == x.Text))
{
var allSynonyms = (from e in dc.Table<EntityType>()
join ee in dc.Table<EntityEntry>() on e.Id equals ee.EntityId
join ees in dc.Table<EntrySynonym>() on ee.Id equals ees.EntityEntryId
where e.Name == x.Alias && ee.Value == x.Text & ees.Synonym != x.Text
select ees.Synonym ).ToList();
var te = new RasaTraningEntity
{
EntityType = x.Alias,
EntityValue = x.Text,
Synonyms = allSynonyms
};
trainingData.Entities.Add(te);
}
});
trainingData.UserSays.Add(say);
});
});
// remove Default Fallback Intent
trainingData.UserSays = trainingData.UserSays.Where(x => x.Intent != "Default Fallback Intent").ToList();
return trainingData;
}

View file

@ -23,6 +23,10 @@
<PackageProjectUrl>https://github.com/Oceania2018/BotSharp</PackageProjectUrl>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;MODEL_PER_CONTEXTS</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNetToolkit" Version="1.4.0" />
<PackageReference Include="EntityFrameworkCore.BootKit" Version="1.6.0" />

View file

@ -8,6 +8,6 @@ namespace BotSharp.Core.Models
{
public string Task { get; set; }
public Object Body { get; set; }
public List<String> Parameters { get; set; }
}
}

View file

@ -83,6 +83,8 @@ namespace BotSharp.Core.Engines
intentJson = intentJson.Replace("\"prompts\":", "\"promptList\":");
var intent = JsonConvert.DeserializeObject<DialogflowIntent>(intentJson);
// void id confict
intent.Id = Guid.NewGuid().ToString();
intent.Name = intent.Name.Replace("/","_");
// load user expressions
if (fileName.Contains("Default Fallback Intent"))
@ -106,6 +108,12 @@ namespace BotSharp.Core.Engines
{
string expressionJson = File.ReadAllText($"{expressionFileName}");
intent.UserSays = JsonConvert.DeserializeObject<List<DialogflowIntentExpression>>(expressionJson);
// remove @sys.ignore
intent.UserSays.ForEach(say =>
{
say.Data.Where(x => x.Meta == "@sys.ignore").ToList().ForEach(x => x.Meta = null);
});
}
}

View file

@ -1,6 +1,8 @@
using BotSharp.Core.Agents;
using BotSharp.Core.Entities;
using BotSharp.Core.Intents;
using BotSharp.Core.Models;
using DotNetToolkit;
using EntityFrameworkCore.BootKit;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
@ -48,9 +50,6 @@ namespace BotSharp.Core.Engines
var corpus = agent.GrabCorpus(dc);
// remove Default Fallback Intent
corpus.UserSays = corpus.UserSays.Where(x => x.Intent != "Default Fallback Intent").ToList();
string json = JsonConvert.SerializeObject(new { rasa_nlu_data = corpus },
new JsonSerializerSettings
{
@ -58,14 +57,10 @@ namespace BotSharp.Core.Engines
NullValueHandling = NullValueHandling.Ignore
});
#if RASA_NLU_0_11
rest.AddParameter("application/json", json, ParameterType.RequestBody);
#else
string trainingConfig = agent.Language == "zh" ? "config_jieba_mitie_sklearn.yml" : "config_mitie_sklearn.yml";
string trainingConfig = agent.Language == "zh" ? "config_jieba_mitie_sklearn.yml" : "config_spacy.yml";
string body = File.ReadAllText($"{Database.ContentRootPath}{Path.DirectorySeparatorChar}Settings{Path.DirectorySeparatorChar}{trainingConfig}");
body = $"{body}\r\ndata: {json}";
rest.AddParameter("application/x-yml", body, ParameterType.RequestBody);
#endif
var response = client.Execute(rest);
@ -86,5 +81,108 @@ namespace BotSharp.Core.Engines
return String.Empty;
}
}
public void TrainWithContexts()
{
var corpus = agent.GrabCorpus(dc);
var client = new RestClient($"{Database.Configuration.GetSection("Rasa:Nlu").Value}");
var contextHashs = corpus.UserSays
.Select(x => x.ContextHash)
.Distinct()
.ToList();
contextHashs.ForEach(ctx =>
{
var common_examples = corpus.UserSays.Where(x => x.ContextHash == ctx || x.ContextHash == Guid.Empty.ToString("N")).ToList();
// assemble entity and synonyms
var usedEntities = new List<String>();
common_examples.ForEach(x =>
{
if (x.Entities != null)
{
usedEntities.AddRange(x.Entities.Select(y => y.Entity));
}
});
usedEntities = usedEntities.Distinct().ToList();
var entity_synonyms = corpus.Entities.Where(x => usedEntities.Contains(x.EntityType)).ToList();
var data = new RasaTrainingData
{
Entities = entity_synonyms,
UserSays = common_examples
};
// meet minimal requirement
// at least 2 different classes
int count = data.UserSays
.Select(x => x.Intent)
.Distinct().Count();
if (count < 2)
{
data.UserSays.Add(new RasaIntentExpression
{
Intent = "Intent2",
Text = Guid.NewGuid().ToString("N")
});
data.UserSays.Add(new RasaIntentExpression
{
Intent = "Intent2",
Text = Guid.NewGuid().ToString("N")
});
}
// at least 2 corpus per intent
data.UserSays.Select(x => x.Intent)
.Distinct()
.ToList()
.ForEach(intent =>
{
if(data.UserSays.Count(x => x.Intent == intent) < 2)
{
data.UserSays.Add(new RasaIntentExpression
{
Intent = intent,
Text = Guid.NewGuid().ToString("N")
});
}
});
string json = JsonConvert.SerializeObject(new { rasa_nlu_data = data },
new JsonSerializerSettings
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
NullValueHandling = NullValueHandling.Ignore
});
var rest = new RestRequest("train", Method.POST);
rest.AddQueryParameter("project", agent.Id);
rest.AddQueryParameter("model", ctx);
string trainingConfig = agent.Language == "zh" ? "config_jieba_mitie_sklearn.yml" : "config_spacy.yml";
string body = File.ReadAllText($"{Database.ContentRootPath}{Path.DirectorySeparatorChar}Settings{Path.DirectorySeparatorChar}{trainingConfig}");
body = $"{body}\r\ndata: {json}";
rest.AddParameter("application/x-yml", body, ParameterType.RequestBody);
var response = client.Execute(rest);
if (response.IsSuccessful)
{
var result = JObject.Parse(response.Content);
string modelName = result["info"].Value<String>().Split(": ")[1];
}
else
{
var result = JObject.Parse(response.Content);
Console.WriteLine(result["error"]);
result["error"].Log();
}
});
}
}
}

View file

@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
@ -12,6 +13,10 @@ namespace BotSharp.Core.Models
public String Text { get; set; }
public String Intent { get; set; }
[JsonIgnore]
public String ContextHash { get; set; }
public List<RasaIntentExpressionPart> Entities { get; set; }
}
}

View file

@ -7,6 +7,7 @@ namespace BotSharp.Core.Adapters.Rasa
{
public class RasaTraningEntity
{
[JsonIgnore]
public String EntityType { get; set; }
[JsonProperty("value")]

View file

@ -30,7 +30,12 @@ namespace BotSharp.Core.Engines
AIResponse aiResponse = new AIResponse();
Database dc = rasa.dc;
#if MODEL_PER_CONTEXTS
string model = GetModelPerContexts(rasa, request);
var result = CallRasa(rasa.agent.Id, request.Query.First(), model);
#else
var result = CallRasa(rasa.agent.Id, request.Query.First(), rasa.agent.Id);
#endif
RasaResponse response = result.Data;
aiResponse.Id = Guid.NewGuid().ToString();
aiResponse.Lang = rasa.agent.Language;
@ -39,10 +44,10 @@ namespace BotSharp.Core.Engines
aiResponse.Timestamp = DateTime.UtcNow;
var intentResponse = HandleIntentPerContextIn(rasa, request, result.Data);
bool missedRequiredField = HandleParameter(rasa.agent, intentResponse, response, request);
HandleParameter(rasa.agent, intentResponse, response, request);
HandleMessage(intentResponse);
aiResponse.Result = new AIResponseResult
{
Source = "agent",
@ -113,8 +118,9 @@ namespace BotSharp.Core.Engines
response.Intent
};
}
response.IntentRanking = response.IntentRanking
.Where(x => x.Confidence > decimal.Parse("0.2") && intents.Select(i => i.Name).Contains(x.Name)).ToList();
response.IntentRanking = response.IntentRanking.Where(x => x.Confidence > decimal.Parse("0.3")).ToList();
response.IntentRanking = response.IntentRanking.Where(x => intents.Select(i => i.Name).Contains(x.Name)).ToList();
// add Default Fallback Intent
if (response.IntentRanking.Count == 0)
@ -131,7 +137,7 @@ namespace BotSharp.Core.Engines
var intent = (dc.Table<Intent>().Where(x => x.AgentId == rasa.agent.Id && x.Name == response.Intent.Name)
.Include(x => x.Responses).ThenInclude(x => x.Contexts)
.Include(x => x.Responses).ThenInclude(x => x.Parameters)
.Include(x => x.Responses).ThenInclude(x => x.Parameters).ThenInclude(x => x.Prompts)
.Include(x => x.Responses).ThenInclude(x => x.Messages)).First();
var intentResponse = ArrayHelper.GetRandom(intent.Responses);
@ -149,9 +155,9 @@ namespace BotSharp.Core.Engines
/// <param name="response"></param>
/// <param name="request"></param>
/// <returns>Required field is missed</returns>
private static bool HandleParameter(Agent agent, IntentResponse intentResponse, RasaResponse response, AIRequest request)
private static void HandleParameter(Agent agent, IntentResponse intentResponse, RasaResponse response, AIRequest request)
{
if (intentResponse == null) return false;
if (intentResponse == null) return;
intentResponse.Parameters.ForEach(p => {
string query = request.Query.First();
@ -164,10 +170,14 @@ namespace BotSharp.Core.Engines
// convert to Standard entity value
if (!String.IsNullOrEmpty(p.Value) && !p.DataType.StartsWith("@sys."))
{
p.Value = agent.Entities.FirstOrDefault(x => x.Name == p.Name).Entries.FirstOrDefault((entry) => {
return entry.Value.ToLower() == p.Value.ToLower() ||
entry.Synonyms.Select(synonym => synonym.Synonym.ToLower()).Contains(p.Value.ToLower());
})?.Value;
p.Value = agent.Entities
.FirstOrDefault(x => x.Name == p.DataType.Substring(1))
.Entries
.FirstOrDefault((entry) =>
{
return entry.Value.ToLower() == p.Value.ToLower() ||
entry.Synonyms.Select(synonym => synonym.Synonym.ToLower()).Contains(p.Value.ToLower());
})?.Value;
}
// fixed entity per request
@ -183,15 +193,29 @@ namespace BotSharp.Core.Engines
}
}
});
return intentResponse.Parameters.Any(x => x.Required && String.IsNullOrEmpty(x.Value));
}
private static void HandleMessage(IntentResponse intentResponse)
{
if (intentResponse == null) return;
intentResponse.Messages = intentResponse.Messages.OrderBy(x => x.UpdatedTime).ToList();
var missingRequiredParameter = intentResponse.Parameters.FirstOrDefault(x => x.Required && String.IsNullOrEmpty(x.Value));
if (missingRequiredParameter != null)
{
intentResponse.Messages = new List<IntentResponseMessage> {
new IntentResponseMessage {
Type = AIResponseMessageType.Text,
Speech = ArrayHelper.GetRandom(missingRequiredParameter.Prompts).Prompt,
IntentResponseId = intentResponse.Id,
UpdatedTime = DateTime.UtcNow
}
};
}
else
{
intentResponse.Messages = intentResponse.Messages.OrderBy(x => x.UpdatedTime).ToList();
}
intentResponse.Messages.ToList()
.ForEach(msg =>
{
@ -201,11 +225,14 @@ namespace BotSharp.Core.Engines
}
else
{
msg.Speech = msg.Speech.StartsWith("[") ?
if (msg.Speech != "[]")
{
msg.Speech = msg.Speech.StartsWith("[") ?
ArrayHelper.GetRandom(msg.Speech.Substring(2, msg.Speech.Length - 4).Split("\",\"").ToList()) :
msg.Speech;
msg.Speech = ReplaceParameters4Response(intentResponse.Parameters, msg.Speech);
msg.Speech = ReplaceParameters4Response(intentResponse.Parameters, msg.Speech);
}
}
});
}
@ -215,7 +242,11 @@ namespace BotSharp.Core.Engines
var reg = new Regex(@"\$\w+");
reg.Matches(text).ToList().ForEach(token => {
text = text.Replace(token.Value, parameters.FirstOrDefault(x => x.Name == token.Value.Substring(1))?.Value.ToString());
var parameter = parameters.FirstOrDefault(x => x.Name == token.Value.Substring(1));
if(parameter != null)
{
text = text.Replace(token.Value, parameter?.Value?.ToString());
}
});
return text;
@ -284,10 +315,8 @@ namespace BotSharp.Core.Engines
return client.Execute<RasaResponse>(rest);
}
public static AIResponse TextRequestPerContexts(this RasaAi rasa, AIRequest request)
private static string GetModelPerContexts(RasaAi rasa, AIRequest request)
{
AIResponse aiResponse = new AIResponse();
RasaResponse response = null;
Database dc = rasa.dc;
// Merge input contexts
@ -314,230 +343,10 @@ namespace BotSharp.Core.Engines
}
}).OrderByDescending(x => x.Contexts.Count).ToList();
// training per request contexts
{
string contextId = $"{String.Join(',', contexts.Select(x => x.Name))}".GetMd5Hash();
string modelName = dc.Table<ContextModelMapping>().FirstOrDefault(x => x.ContextId == contextId)?.ModelName;
// need training
if (String.IsNullOrEmpty(modelName))
{
request.Contexts = contexts.Select(x => new AIContext { Name = x.Name.ToLower() })
.OrderBy(x => x.Name)
.ToList();
// query per request contexts
var contextHashs = intents.Select(x => x.ContextHash).Distinct().ToList();
dc.DbTran(() =>
{
modelName = TrainWithContexts(rasa, dc, request, contextId);
});
}
var result = CallRasa(rasa.agent.Id, request.Query.First(), modelName);
if (result.Data.Intent != null)
{
response = result.Data;
}
}
// Max contexts match
if (response == null)
{
foreach (var it in intents)
{
request.Contexts = it.Contexts.Select(x => new AIContext { Name = x.Name.ToLower() })
.OrderBy(x => x.Name)
.ToList();
string contextId = $"{String.Join(',', request.Contexts.Select(x => x.Name))}".GetMd5Hash();
string modelName = dc.Table<ContextModelMapping>().FirstOrDefault(x => x.ContextId == contextId)?.ModelName;
// need training
if (String.IsNullOrEmpty(modelName))
{
dc.DbTran(() =>
{
modelName = TrainWithContexts(rasa, dc, request, contextId);
});
}
var result = CallRasa(rasa.agent.Id, request.Query.First(), modelName);
if (result.Data.Intent != null)
{
response = result.Data;
break;
}
};
}
var intent = (dc.Table<Intent>().Where(x => x.Name == response.Intent.Name)
.Include(x => x.Responses).ThenInclude(x => x.Contexts)
.Include(x => x.Responses).ThenInclude(x => x.Parameters)
.Include(x => x.Responses).ThenInclude(x => x.Messages)).First();
var intentResponse = ArrayHelper.GetRandom(intent.Responses);
aiResponse.Id = Guid.NewGuid().ToString();
aiResponse.Lang = rasa.agent.Language;
aiResponse.Status = new AIResponseStatus { };
aiResponse.SessionId = rasa.AiConfig.SessionId;
aiResponse.Timestamp = DateTime.UtcNow;
intentResponse.Messages = intentResponse.Messages.OrderBy(x => x.UpdatedTime).ToList();
intentResponse.Messages.ToList()
.ForEach(msg =>
{
if (msg.Type == AIResponseMessageType.Custom)
{
}
else
{
msg.Speech = msg.Speech.StartsWith("[") ?
ArrayHelper.GetRandom(msg.Speech.Substring(2, msg.Speech.Length - 4).Split("\",\"").ToList()) :
msg.Speech;
}
});
aiResponse.Result = new AIResponseResult
{
Source = "agent",
ResolvedQuery = request.Query.First(),
Action = intentResponse.Action,
Parameters = new Dictionary<string, string>(),
Score = response.Intent.Confidence,
Metadata = new AIResponseMetadata { IntentId = intent.Id, IntentName = intent.Name },
Fulfillment = new AIResponseFulfillment
{
Messages = intentResponse.Messages.Select(x => {
if (x.Type == AIResponseMessageType.Custom)
{
return (new
{
x.Type,
x.Payload
}) as Object;
}
else
{
return (new { x.Type, x.Speech }) as Object;
}
}).ToList()
}
};
// Merge context lifespan
// override if exists, otherwise add, delete if lifespan is zero
dc.DbTran(() =>
{
var sessionContexts = dc.Table<ConversationContext>().Where(x => x.ConversationId == rasa.AiConfig.SessionId).ToList();
// minus 1 round
sessionContexts.Where(x => !intentResponse.Contexts.Select(ctx => ctx.Name).Contains(x.Context))
.ToList()
.ForEach(ctx => ctx.Lifespan = ctx.Lifespan - 1);
intentResponse.Contexts.ForEach(ctx =>
{
var session1 = sessionContexts.FirstOrDefault(x => x.Context == ctx.Name);
if (session1 != null)
{
if (ctx.Lifespan == 0)
{
dc.Table<ConversationContext>().Remove(session1);
}
else
{
session1.Lifespan = ctx.Lifespan;
}
}
else
{
dc.Table<ConversationContext>().Add(new ConversationContext
{
ConversationId = rasa.AiConfig.SessionId,
Context = ctx.Name,
Lifespan = ctx.Lifespan
});
}
});
});
aiResponse.Result.Contexts = dc.Table<ConversationContext>()
.Where(x => x.ConversationId == rasa.AiConfig.SessionId)
.Select(x => new AIContext { Name = x.Context.ToLower(), Lifespan = x.Lifespan })
.ToArray();
return aiResponse;
}
/// <summary>
/// Need two categories at least
/// </summary>
/// <param name="console"></param>
/// <param name="dc"></param>
/// <param name="request"></param>
/// <param name="contextId"></param>
/// <returns></returns>
public static string TrainWithContexts(this RasaAi console, Database dc, AIRequest request, String contextId)
{
var corpus = console.agent.GrabCorpusPerContexts(dc, request.Contexts);
corpus.UserSays.Add(new RasaIntentExpression
{
Intent = "Welcome",
Text = "Hi"
});
corpus.UserSays.Add(new RasaIntentExpression
{
Intent = "Welcome",
Text = "Hey"
});
corpus.UserSays.Add(new RasaIntentExpression
{
Intent = "Welcome",
Text = "Hello"
});
string json = JsonConvert.SerializeObject(new { rasa_nlu_data = corpus },
new JsonSerializerSettings
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
NullValueHandling = NullValueHandling.Ignore
});
var client = new RestClient($"{Database.Configuration.GetSection("Rasa:Host").Value}");
var rest = new RestRequest("train", Method.POST);
rest.AddQueryParameter("project", console.agent.Id);
rest.AddParameter("application/json", json, ParameterType.RequestBody);
var response = client.Execute(rest);
if (response.IsSuccessful)
{
var result = JObject.Parse(response.Content);
string modelName = result["info"].Value<String>().Split(": ")[1];
dc.Table<ContextModelMapping>().Add(new ContextModelMapping
{
AgentId = console.agent.Id,
ModelName = modelName,
ContextId = contextId
});
return modelName;
}
else
{
var result = JObject.Parse(response.Content);
Console.WriteLine(result["error"]);
return String.Empty;
}
return contextHashs.FirstOrDefault();
}
}
}

View file

@ -14,7 +14,7 @@ namespace BotSharp.Core.Entities
[StringLength(36)]
public String EntityEntryId { get; set; }
[MaxLength(64)]
[MaxLength(128)]
public String Synonym { get; set; }
}
}

View file

@ -1,25 +0,0 @@
using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BotSharp.Core.Intents
{
[Table("Bot_ContextModelMapping")]
public class ContextModelMapping : DbRecord, IDbRecord
{
[Required]
[StringLength(36)]
public String AgentId { get; set; }
[Required]
[StringLength(32)]
public string ContextId { get; set; }
[Required]
[StringLength(21)]
public string ModelName { get; set; }
}
}

View file

@ -1,8 +1,10 @@
using EntityFrameworkCore.BootKit;
using DotNetToolkit;
using EntityFrameworkCore.BootKit;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
namespace BotSharp.Core.Intents
@ -26,6 +28,20 @@ namespace BotSharp.Core.Intents
[ForeignKey("IntentId")]
public List<IntentInputContext> Contexts { get; set; }
/// <summary>
/// Get input contexts hash
/// </summary>
[NotMapped]
public String ContextHash
{
get
{
return Contexts == null || Contexts.Count == 0
? Guid.Empty.ToString("N")
: $"{String.Join(',', Contexts.OrderBy(x => x.Name).Select(x => x.Name))}".GetMd5Hash();
}
}
[ForeignKey("IntentId")]
public List<IntentExpression> UserSays { get; set; }

View file

@ -73,5 +73,16 @@ namespace BotSharp.UnitTest
Assert.IsTrue(!String.IsNullOrEmpty(msg));
}
[TestMethod]
public void TrainAgentPerContextTest()
{
var config = new AIConfiguration(BOT_CLIENT_TOKEN, SupportedLanguage.English);
config.SessionId = Guid.NewGuid().ToString();
var rasa = new RasaAi(dc, config);
rasa.TrainWithContexts();
}
}
}

View file

@ -0,0 +1,36 @@
{
"description": "Whether they\u0027re on the road, working out or relaxing on the couch, your users want complete control of their music. With this agent users can search, pause, skip or shuffle in your app, just by asking.",
"language": "en",
"shortDescription": "Play and control your music and playlists",
"examples": "User: Switch to workout music.\nUser: Put on my late night playlist.\nUser: Can you please play a song from my favorite playlist?\nUser: Play a song from Spotify.\nUser: I want to listen to some music.\nUser: Play an album by Madonna.\nUser: Play something by The Rolling Stones.",
"activeAssistantAgents": [],
"disableInteractionLogs": false,
"disableStackdriverLogs": true,
"googleAssistant": {
"googleAssistantCompatible": false,
"welcomeIntentSignInRequired": false,
"startIntents": [],
"systemIntents": [],
"endIntentIds": [],
"oAuthLinking": {
"required": false,
"grantType": "AUTH_CODE_GRANT"
},
"voiceType": "MALE_1",
"capabilities": [],
"protocolVersion": "V1",
"isDeviceAgent": false
},
"defaultTimezone": "America/New_York",
"webhook": {
"available": false,
"useForDomains": false,
"cloudFunctionsEnabled": false,
"cloudFunctionsInitialized": false
},
"isPrivate": false,
"customClassifierMode": "use.instead",
"mlMinConfidence": 0.3,
"supportedLanguages": [],
"onePlatformApiVersion": "v1legacy"
}

View file

@ -0,0 +1,7 @@
{
"id": "6fddba52-6c51-42b2-bd35-70c6cce204f5",
"name": "music-album",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": true
}

View file

@ -0,0 +1,737 @@
[
{
"value": "Achtung Baby",
"synonyms": [
"Achtung Baby"
]
},
{
"value": "At Folsom Prison",
"synonyms": [
"At Folsom Prison"
]
},
{
"value": "Brain",
"synonyms": [
"Brain"
]
},
{
"value": "Exodus",
"synonyms": [
"Exodus"
]
},
{
"value": "Marquee Moon",
"synonyms": [
"Marquee Moon"
]
},
{
"value": "Pet Sounds",
"synonyms": [
"Pet Sounds"
]
},
{
"value": "Revolver",
"synonyms": [
"Revolver"
]
},
{
"value": "Stand!",
"synonyms": [
"Stand!"
]
},
{
"value": "Thriller",
"synonyms": [
"Thriller"
]
},
{
"value": "Tommy",
"synonyms": [
"Tommy"
]
},
{
"value": "Burst Apart",
"synonyms": [
"Burst Apart"
]
},
{
"value": "Closing Time",
"synonyms": [
"Closing Time"
]
},
{
"value": "Electric Ladyland",
"synonyms": [
"Electric Ladyland"
]
},
{
"value": "Innervisions",
"synonyms": [
"Innervisions"
]
},
{
"value": "Love",
"synonyms": [
"love"
]
},
{
"value": "Power, Corruption \u0026 Lies",
"synonyms": [
"Power, Corruption \u0026 Lies",
"Power Corruption Lies",
"corruption and lies"
]
},
{
"value": "Quadrophenia",
"synonyms": [
"Quadrophenia"
]
},
{
"value": "Songs in the Key of Life",
"synonyms": [
"Songs in the Key of Life"
]
},
{
"value": "The Wall",
"synonyms": [
"The Wall"
]
},
{
"value": "American Beauty",
"synonyms": [
"American Beauty"
]
},
{
"value": "Blue",
"synonyms": [
"Blue"
]
},
{
"value": "Born to Run",
"synonyms": [
"Born to Run"
]
},
{
"value": "Bringing It All Back Home",
"synonyms": [
"Bringing It All Back Home"
]
},
{
"value": "Daydream Nation",
"synonyms": [
"Daydream Nation"
]
},
{
"value": "Divorcio",
"synonyms": [
"Divorcio"
]
},
{
"value": "Let It Be",
"synonyms": [
"Let It Be"
]
},
{
"value": "\u0027Live\u0027 at The Apollo",
"synonyms": [
"Live at The Apollo"
]
},
{
"value": "Magical Mystery Tour",
"synonyms": [
"Magical Mystery Tour"
]
},
{
"value": "Paul\u0027s Boutique",
"synonyms": [
"Paul s Boutique, Pauls Boutique"
]
},
{
"value": "Sgt. Pepper\u0027s Lonely Hearts Club Band",
"synonyms": [
"Sgt Pepper s Lonely Hearts Club Band, Sgt Peppers Lonely Hearts Club Band"
]
},
{
"value": "Songs about Jane",
"synonyms": [
"Songs about Jane"
]
},
{
"value": "The Velvet Underground and Nico",
"synonyms": [
"The Velvet Underground and Nico"
]
},
{
"value": "Un Monde Meilleur",
"synonyms": [
"Un Monde Meilleur"
]
},
{
"value": "Appetite for Destruction",
"synonyms": [
"Appetite for Destruction"
]
},
{
"value": "Goodbye Yellow Brick Road",
"synonyms": [
"Goodbye Yellow Brick Road"
]
},
{
"value": "Highway Revisited",
"synonyms": [
"Highway Revisited"
]
},
{
"value": "Kind of Blue",
"synonyms": [
"Kind of Blue"
]
},
{
"value": "Layla and Other Assorted Love Songs",
"synonyms": [
"Layla and Other Assorted Love Songs"
]
},
{
"value": "Led Zeppelin II",
"synonyms": [
"Led Zeppelin II"
]
},
{
"value": "Led Zeppelin II",
"synonyms": [
"Led Zeppelin too, Led Zeppelin second, Led Zeppelin two, Led Zeppelin 2, Led Zeppelin II"
]
},
{
"value": "The Clash",
"synonyms": [
"The Clash"
]
},
{
"value": "The Rise and Fall of Ziggy Stardust and the Spiders From Mars",
"synonyms": [
"The Rise and Fall of Ziggy Stardust and the Spiders From Mars"
]
},
{
"value": "White",
"synonyms": [
"White"
]
},
{
"value": "Who\u0027s Next",
"synonyms": [
"Who s Next, Whos Next"
]
},
{
"value": "After the Gold Rush",
"synonyms": [
"After the Gold Rush"
]
},
{
"value": "Beggars Banquet",
"synonyms": [
"Beggars Banquet"
]
},
{
"value": "My Aim Is True",
"synonyms": [
"My Aim Is True"
]
},
{
"value": "Straight Outta Compton",
"synonyms": [
"Straight Outta Compton"
]
},
{
"value": "Summer",
"synonyms": [
"Summer"
]
},
{
"value": "The Joshua Tree",
"synonyms": [
"The Joshua Tree"
]
},
{
"value": "The Marshall Mathers LP",
"synonyms": [
"The Marshall Mathers LP",
"The Marshall Mathers"
]
},
{
"value": "The Sun Sessions",
"synonyms": [
"The Sun Sessions"
]
},
{
"value": "Some Girls",
"synonyms": [
"Some Girls"
]
},
{
"value": "A Love Supreme",
"synonyms": [
"A Love Supreme"
]
},
{
"value": "Automatic for the People",
"synonyms": [
"Automatic for the People"
]
},
{
"value": "Moondance",
"synonyms": [
"Moondance"
]
},
{
"value": "Nevermind",
"synonyms": [
"Nevermind"
]
},
{
"value": "Raising Hell",
"synonyms": [
"Raising Hell"
]
},
{
"value": "Tapestry",
"synonyms": [
"Tapestry"
]
},
{
"value": "Forever Changes",
"synonyms": [
"Forever Changes"
]
},
{
"value": "In the Court of the Crimson King",
"synonyms": [
"In the Court of the Crimson King"
]
},
{
"value": "Let It Bleed",
"synonyms": [
"Let It Bleed"
]
},
{
"value": "Never Mind the Bollocks Here\u0027s the Sex Pistols",
"synonyms": [
"Never Mind the Bollocks Heres the Sex Pistols, Never Mind the Bollocks Here s the Sex Pistols"
]
},
{
"value": "Winter",
"synonyms": [
"Winter"
]
},
{
"value": "Wish You Were Here",
"synonyms": [
"Wish You Were Here"
]
},
{
"value": "19",
"synonyms": [
"19"
]
},
{
"value": "Abraxas",
"synonyms": [
"Abraxas"
]
},
{
"value": "Are You Experienced",
"synonyms": [
"Are You Experienced"
]
},
{
"value": "Astral Weeks",
"synonyms": [
"Astral Weeks"
]
},
{
"value": "Blonde on Blonde",
"synonyms": [
"Blonde on Blonde"
]
},
{
"value": "Giant Steps",
"synonyms": [
"Giant Steps"
]
},
{
"value": "It Takes a Nation of Millions to Hold Us Back",
"synonyms": [
"It Takes a Nation of Millions to Hold Us Back"
]
},
{
"value": "Modern Sounds in Country and Western Music",
"synonyms": [
"Modern Sounds in Country and Western Music"
]
},
{
"value": "The Bends",
"synonyms": [
"The Bends"
]
},
{
"value": "Abbey Road",
"synonyms": [
"Abbey Road"
]
},
{
"value": "Call Me",
"synonyms": [
"Call Me"
]
},
{
"value": "Disraeli Gears",
"synonyms": [
"Disraeli Gears"
]
},
{
"value": "Grace",
"synonyms": [
"Grace"
]
},
{
"value": "Please Please Me",
"synonyms": [
"Please Please Me"
]
},
{
"value": "Rumours",
"synonyms": [
"Rumours"
]
},
{
"value": "Synchronicity",
"synonyms": [
"Synchronicity"
]
},
{
"value": "Bridge Over Troubled Water",
"synonyms": [
"Bridge Over Troubled Water"
]
},
{
"value": "Exile on Main St.",
"synonyms": [
"Exile on Main St"
]
},
{
"value": "John Lennon / Plastic Ono Band",
"synonyms": [
"John Lennon / Plastic Ono Band"
]
},
{
"value": "Music From Big Pink",
"synonyms": [
"Music From Big Pink"
]
},
{
"value": "Rocks",
"synonyms": [
"Rocks"
]
},
{
"value": "Back in Black",
"synonyms": [
"Back in Black"
]
},
{
"value": "Biagio",
"synonyms": [
"Biagio"
]
},
{
"value": "Blood on the Tracks",
"synonyms": [
"Blood on the Tracks"
]
},
{
"value": "Hotel California",
"synonyms": [
"Hotel California"
]
},
{
"value": "Hunky Dory",
"synonyms": [
"Hunky Dory"
]
},
{
"value": "Ten",
"synonyms": [
"Ten"
]
},
{
"value": "The Doors",
"synonyms": [
"The Doors"
]
},
{
"value": "Californication",
"synonyms": [
"Californication"
]
},
{
"value": "OK Computer",
"synonyms": [
"OK Computer"
]
},
{
"value": "What\u0027s Going On",
"synonyms": [
"Whats Going On, What s Going On"
]
},
{
"value": "Green River",
"synonyms": [
"Green River"
]
},
{
"value": "Led Zeppelin",
"synonyms": [
"Led Zeppelin"
]
},
{
"value": "Remain in Light",
"synonyms": [
"Remain in Light"
]
},
{
"value": "Rubber Soul",
"synonyms": [
"Rubber Soul"
]
},
{
"value": "The Dark Side of the Moon",
"synonyms": [
"The Dark Side of the Moon"
]
},
{
"value": "Born in the U.S.A.",
"synonyms": [
"Born in the USA, Born in the U S A"
]
},
{
"value": "Celebration",
"synonyms": [
"Celebration"
]
},
{
"value": "Harvest",
"synonyms": [
"Harvest"
]
},
{
"value": "London Calling",
"synonyms": [
"London Calling"
]
},
{
"value": "Purple Rain",
"synonyms": [
"Purple Rain"
]
},
{
"value": "Sign the Times",
"synonyms": [
"Sign the Times"
]
},
{
"value": "White Album",
"synonyms": [
"The Beatles White Album, White, White Album"
]
},
{
"value": "Graceland",
"synonyms": [
"Graceland"
]
},
{
"value": "Horses",
"synonyms": [
"Horses"
]
},
{
"value": "In Utero",
"synonyms": [
"In Utero"
]
},
{
"value": "Paid In Full",
"synonyms": [
"Paid In Full"
]
},
{
"value": "At Fillmore East",
"synonyms": [
"At Fillmore East"
]
},
{
"value": "Axis Bold as Love",
"synonyms": [
"Axis Bold as Love"
]
},
{
"value": "Déjà vu",
"synonyms": [
"Déjà vu"
]
},
{
"value": "Doolittle",
"synonyms": [
"Doolittle"
]
},
{
"value": "Eat a Peach",
"synonyms": [
"Eat a Peach"
]
},
{
"value": "I Never Loved a Man the Way I Love You",
"synonyms": [
"I Never Loved a Man the Way I Love You"
]
},
{
"value": "Love",
"synonyms": [
"Love"
]
},
{
"value": "Physical Graffiti",
"synonyms": [
"Physical Graffiti"
]
},
{
"value": "Sticky Fingers",
"synonyms": [
"Sticky Fingers"
]
},
{
"value": "Surrealistic Pillow",
"synonyms": [
"Surrealistic Pillow"
]
}
]

View file

@ -0,0 +1,7 @@
{
"id": "9fdfa4b7-5aae-4209-8790-8989b4ede389",
"name": "music-service",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": false
}

View file

@ -0,0 +1,107 @@
[
{
"value": "Vimeo",
"synonyms": [
"vimeo"
]
},
{
"value": "iTunes",
"synonyms": [
"iTunes"
]
},
{
"value": "SXM",
"synonyms": [
"SXM",
" Sirius XM"
]
},
{
"value": "Prime Music",
"synonyms": [
"Prime Music"
]
},
{
"value": "Spotify",
"synonyms": [
"Spotify"
]
},
{
"value": "Apple Music",
"synonyms": [
"Apple Music"
]
},
{
"value": "Slacker",
"synonyms": [
"slaker",
" slacker"
]
},
{
"value": "Last fm",
"synonyms": [
"lastfm",
" last fm",
" Last Fm"
]
},
{
"value": "Zvooq",
"synonyms": [
"Zvooq"
]
},
{
"value": "Iheart",
"synonyms": [
"iheart radio",
" iHeartRadio",
" iheart"
]
},
{
"value": "Prime Music",
"synonyms": [
"Prime",
" Prime Music"
]
},
{
"value": "Netflix",
"synonyms": [
"Netflix"
]
},
{
"value": "Deezer",
"synonyms": [
"Deezer"
]
},
{
"value": "Pandora",
"synonyms": [
"pandora"
]
},
{
"value": "Google Music",
"synonyms": [
"Google Music",
"google musik"
]
},
{
"value": "Youtube",
"synonyms": [
"youtube",
"you tube"
]
}
]

View file

@ -0,0 +1,7 @@
{
"id": "ba4644ef-abb8-42f6-9302-249fd3e38d03",
"name": "music-sort",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": false
}

View file

@ -0,0 +1,28 @@
[
{
"value": "top",
"synonyms": [
"top",
"popular",
"most popular"
]
},
{
"value": "latest",
"synonyms": [
"latest",
"last",
"new",
"newest"
]
},
{
"value": "best",
"synonyms": [
"best",
"good",
"greatest",
"the greatest"
]
}
]

View file

@ -0,0 +1,7 @@
{
"id": "0ecc10fe-a743-4182-a6c9-0ed8cc2590c3",
"name": "playlist",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": true
}

View file

@ -0,0 +1,265 @@
[
{
"value": "rock",
"synonyms": [
"rock"
]
},
{
"value": "travel",
"synonyms": [
"traveling",
"travel",
"travelling"
]
},
{
"value": "my faves",
"synonyms": [
"my faves"
]
},
{
"value": "chill",
"synonyms": [
"chill",
"chilling"
]
},
{
"value": "kids",
"synonyms": [
"kids"
]
},
{
"value": "quality",
"synonyms": [
"quality"
]
},
{
"value": "summer",
"synonyms": [
"summer"
]
},
{
"value": "today\u0027s top hits",
"synonyms": [
"today\u0027s top hits"
]
},
{
"value": "breakfast",
"synonyms": [
"breakfast"
]
},
{
"value": "mood",
"synonyms": [
"mood"
]
},
{
"value": "gym",
"synonyms": [
"gym"
]
},
{
"value": "dinner",
"synonyms": [
"dinner party",
"dinner party",
"dinner"
]
},
{
"value": "study",
"synonyms": [
"study"
]
},
{
"value": "relaxing",
"synonyms": [
"relaxing"
]
},
{
"value": "trending",
"synonyms": [
"trending"
]
},
{
"value": "calm",
"synonyms": [
"calm"
]
},
{
"value": "cool",
"synonyms": [
"cool"
]
},
{
"value": "focus",
"synonyms": [
"focus",
"focusing"
]
},
{
"value": "party",
"synonyms": [
"party"
]
},
{
"value": "late night",
"synonyms": [
"late night"
]
},
{
"value": "recently added",
"synonyms": [
"recently added"
]
},
{
"value": "winter",
"synonyms": [
"winter"
]
},
{
"value": "comedy",
"synonyms": [
"comedy"
]
},
{
"value": "meditative",
"synonyms": [
"meditative"
]
},
{
"value": "roxette",
"synonyms": [
"roxette"
]
},
{
"value": "sleep",
"synonyms": [
"sleep"
]
},
{
"value": "workout",
"synonyms": [
"workout",
"working out",
"workingout",
"work out"
]
},
{
"value": "favourite",
"synonyms": [
"favourite"
]
},
{
"value": "favorite",
"synonyms": [
"favorite",
"favorites",
"faves",
"fave",
"fav"
]
},
{
"value": "jazz",
"synonyms": [
"jazz"
]
},
{
"value": "running",
"synonyms": [
"running",
"run"
]
},
{
"value": "viral hits",
"synonyms": [
"viral hits"
]
},
{
"value": "energy",
"synonyms": [
"energetic",
"energy"
]
},
{
"value": "fitness",
"synonyms": [
"fitness",
"for fitness"
]
},
{
"value": "love",
"synonyms": [
"love"
]
},
{
"value": "work",
"synonyms": [
"work"
]
},
{
"value": "romance",
"synonyms": [
"romance",
"romancing",
"romantic",
"for date",
"for a date",
"for romantic date",
"for a romantic date"
]
},
{
"value": "uplifting",
"synonyms": [
"uplifting",
"100 most uplifting songs ever"
]
},
{
"value": "50 great beatles songs",
"synonyms": [
"50 great beatles songs"
]
},
{
"value": "lunch",
"synonyms": [
"lunch"
]
}
]

View file

@ -0,0 +1,7 @@
{
"id": "01c1df34-ecad-4ab0-bc4a-62e1d43a27d8",
"name": "song",
"isOverridable": true,
"isEnum": false,
"automatedExpansion": true
}

View file

@ -0,0 +1,608 @@
[
{
"value": "Castle On The Hill",
"synonyms": [
"Castle On The Hill"
]
},
{
"value": "Sound Of Silence",
"synonyms": [
"Sound Of Silence"
]
},
{
"value": "Photograph",
"synonyms": [
"Photograph"
]
},
{
"value": "Creep",
"synonyms": [
"Creep"
]
},
{
"value": "Hurt",
"synonyms": [
"Hurt"
]
},
{
"value": "Love Yourself",
"synonyms": [
"Love Yourself"
]
},
{
"value": "Wish You Were Here",
"synonyms": [
"Wish You Were Here"
]
},
{
"value": "Million Reasons",
"synonyms": [
"Million Reasons"
]
},
{
"value": "When We Were Young",
"synonyms": [
"When We Were Young"
]
},
{
"value": "Versace On The Floor",
"synonyms": [
"Versace On The Floor"
]
},
{
"value": "Shape Of You",
"synonyms": [
"Shape Of You"
]
},
{
"value": "Nothing Else Matters",
"synonyms": [
"Nothing Else Matters"
]
},
{
"value": "Let Her Go",
"synonyms": [
"Let Her Go"
]
},
{
"value": "Riptide",
"synonyms": [
"Riptide"
]
},
{
"value": "Say You Wont Let Go",
"synonyms": [
"Say You Wont Let Go"
]
},
{
"value": "Cant Help Falling In Love With You",
"synonyms": [
"Cant Help Falling In Love With You"
]
},
{
"value": "Im Yours",
"synonyms": [
"Im Yours"
]
},
{
"value": "The Scientist Acoustic",
"synonyms": [
"The Scientist Acoustic"
]
},
{
"value": "Shape Of You",
"synonyms": [
"Shape Of You"
]
},
{
"value": "A Thousand Years",
"synonyms": [
"A Thousand Years"
]
},
{
"value": "La La Land - Audition The Fools Who Dream",
"synonyms": [
"La La Land - Audition The Fools Who Dream"
]
},
{
"value": "Hey There Delilah",
"synonyms": [
"Hey There Delilah"
]
},
{
"value": "City Of Stars Acoustic",
"synonyms": [
"City Of Stars Acoustic"
]
},
{
"value": "Closer",
"synonyms": [
"Closer"
]
},
{
"value": "Treat You Better",
"synonyms": [
"Treat You Better"
]
},
{
"value": "Let It Be",
"synonyms": [
"Let It Be"
]
},
{
"value": "Rockabye",
"synonyms": [
"Rockabye"
]
},
{
"value": "Shape Of You",
"synonyms": [
"Shape Of You"
]
},
{
"value": "City Of Stars",
"synonyms": [
"City Of Stars"
]
},
{
"value": "All Of Me",
"synonyms": [
"All Of Me"
]
},
{
"value": "How Far Ill Go",
"synonyms": [
"How Far Ill Go"
]
},
{
"value": "All I Ask",
"synonyms": [
"All I Ask"
]
},
{
"value": "More Than Words",
"synonyms": [
"More Than Words"
]
},
{
"value": "Surat Cinta Untuk Starla",
"synonyms": [
"Surat Cinta Untuk Starla"
]
},
{
"value": "City Of Stars",
"synonyms": [
"City Of Stars"
]
},
{
"value": "Something Just Like This",
"synonyms": [
"Something Just Like This"
]
},
{
"value": "Mercy",
"synonyms": [
"Mercy"
]
},
{
"value": "Versace On The Floor",
"synonyms": [
"Versace On The Floor"
]
},
{
"value": "Someone Like You",
"synonyms": [
"Someone Like You"
]
},
{
"value": "Human",
"synonyms": [
"Human"
]
},
{
"value": "Thinking Out Loud",
"synonyms": [
"Thinking Out Loud"
]
},
{
"value": "When I Was Your Man",
"synonyms": [
"When I Was Your Man"
]
},
{
"value": "Versace On The Floor",
"synonyms": [
"Versace On The Floor"
]
},
{
"value": "House Of The Rising Sun",
"synonyms": [
"House Of The Rising Sun"
]
},
{
"value": "Stairway To Heaven",
"synonyms": [
"Stairway To Heaven"
]
},
{
"value": "Wonderwall",
"synonyms": [
"Wonderwall"
]
},
{
"value": "How Would You Feel",
"synonyms": [
"How Would You Feel"
]
},
{
"value": "I Dont Wanna Live Forever",
"synonyms": [
"I Dont Wanna Live Forever"
]
},
{
"value": "Stay With Me",
"synonyms": [
"Stay With Me"
]
},
{
"value": "This Town",
"synonyms": [
"This Town"
]
},
{
"value": "Hallelujah",
"synonyms": [
"Hallelujah"
]
},
{
"value": "7 Years",
"synonyms": [
"7 Years"
]
},
{
"value": "City Of Stars",
"synonyms": [
"City Of Stars"
]
},
{
"value": "Hotel California",
"synonyms": [
"Hotel California"
]
},
{
"value": "I See Fire",
"synonyms": [
"I See Fire"
]
},
{
"value": "Dancing On My Own",
"synonyms": [
"Dancing On My Own"
]
},
{
"value": "Fix You Acoustic",
"synonyms": [
"Fix You Acoustic"
]
},
{
"value": "The A Team",
"synonyms": [
"The A Team"
]
},
{
"value": "Wonderwall",
"synonyms": [
"Wonderwall"
]
},
{
"value": "Skinny Love",
"synonyms": [
"Skinny Love"
]
},
{
"value": "Yellow Acoustic",
"synonyms": [
"Yellow Acoustic"
]
},
{
"value": "Hallelujah",
"synonyms": [
"Hallelujah"
]
},
{
"value": "Let It Go",
"synonyms": [
"Let It Go"
]
},
{
"value": "All I Want",
"synonyms": [
"All I Want"
]
},
{
"value": "Say Something",
"synonyms": [
"Say Something"
]
},
{
"value": "Radioactive",
"synonyms": [
"Radioactive"
]
},
{
"value": "Shape Of You",
"synonyms": [
"Shape Of You"
]
},
{
"value": "Redemption Song",
"synonyms": [
"Redemption Song"
]
},
{
"value": "Sweet Child O Mine",
"synonyms": [
"Sweet Child O Mine"
]
},
{
"value": "Chasing Cars",
"synonyms": [
"Chasing Cars"
]
},
{
"value": "Boulevard Of Broken Dreams Acoustic",
"synonyms": [
"Boulevard Of Broken Dreams Acoustic"
]
},
{
"value": "Hey Jude",
"synonyms": [
"Hey Jude"
]
},
{
"value": "Closer",
"synonyms": [
"Closer"
]
},
{
"value": "Youve Got A Friend In Me",
"synonyms": [
"Youve Got A Friend In Me"
]
},
{
"value": "Halo",
"synonyms": [
"Halo"
]
},
{
"value": "Heathens",
"synonyms": [
"Heathens"
]
},
{
"value": "Counting Stars",
"synonyms": [
"Counting Stars"
]
},
{
"value": "Wish You Were Here",
"synonyms": [
"Wish You Were Here"
]
},
{
"value": "Im Not The Only One",
"synonyms": [
"Im Not The Only One"
]
},
{
"value": "I Wont Give Up",
"synonyms": [
"I Wont Give Up"
]
},
{
"value": "Stitches",
"synonyms": [
"Stitches"
]
},
{
"value": "Sweater Weather",
"synonyms": [
"Sweater Weather"
]
},
{
"value": "Good Riddance Time Of Your Life",
"synonyms": [
"Good Riddance Time Of Your Life"
]
},
{
"value": "Love On The Brain",
"synonyms": [
"Love On The Brain"
]
},
{
"value": "Blackbird",
"synonyms": [
"Blackbird"
]
},
{
"value": "We Dont Talk Anymore",
"synonyms": [
"We Dont Talk Anymore"
]
},
{
"value": "Hey Soul Sister",
"synonyms": [
"Hey Soul Sister"
]
},
{
"value": "Faded",
"synonyms": [
"Faded"
]
},
{
"value": "Under The Bridge",
"synonyms": [
"Under The Bridge"
]
},
{
"value": "Imagine",
"synonyms": [
"Imagine"
]
},
{
"value": "Dont Look Back In Anger",
"synonyms": [
"Dont Look Back In Anger"
]
},
{
"value": "Iris",
"synonyms": [
"Iris"
]
},
{
"value": "Love",
"synonyms": [
"Love"
]
},
{
"value": "One Call Away",
"synonyms": [
"One Call Away"
]
},
{
"value": "Hello",
"synonyms": [
"Hello"
]
},
{
"value": "Somewhere Over The Rainbow",
"synonyms": [
"Somewhere Over The Rainbow"
]
},
{
"value": "Starving",
"synonyms": [
"Starving"
]
},
{
"value": "Jolene",
"synonyms": [
"Jolene"
]
},
{
"value": "Castle On The Hill",
"synonyms": [
"Castle On The Hill"
]
},
{
"value": "Lost Boy Acoustic",
"synonyms": [
"Lost Boy Acoustic"
]
},
{
"value": "Make You Feel My Love",
"synonyms": [
"Make You Feel My Love"
]
}
]

View file

@ -0,0 +1,97 @@
{
"id": "ad118f22-6185-4566-8b22-7a6067fb42e2",
"name": "music.play",
"auto": true,
"contexts": [],
"responses": [
{
"resetContexts": false,
"action": "music.play",
"affectedContexts": [
{
"name": "play-music",
"parameters": {},
"lifespan": 5
},
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [
{
"id": "4e5778f6-53b2-4b74-b369-0c3fd482bd75",
"required": false,
"dataType": "@song",
"name": "song",
"value": "$song",
"isList": false
},
{
"id": "c6de8e2e-b285-40bd-9dcb-ba3d03956f80",
"required": false,
"dataType": "@sys.music-artist",
"name": "artist",
"value": "$artist",
"isList": true
},
{
"id": "a6a18c6f-ad5a-45d2-9570-666d96de9e51",
"required": false,
"dataType": "@music-album",
"name": "album",
"value": "$album",
"isList": false
},
{
"id": "baf8e37e-ec14-4cd0-a34a-2d2d1c9dbd48",
"required": false,
"dataType": "@sys.music-genre",
"name": "genre",
"value": "$genre",
"isList": false
},
{
"id": "e4a8c145-ec0b-414a-afb2-90278fbea7fe",
"required": false,
"dataType": "@playlist",
"name": "playlist",
"value": "$playlist",
"isList": false
},
{
"id": "5bf2245f-2281-44e0-85b3-b2e024731155",
"required": false,
"dataType": "@music-service",
"name": "service",
"value": "$service",
"isList": false
},
{
"id": "c5480361-27a4-4f2b-be86-e4c6bda25306",
"required": false,
"dataType": "@music-sort",
"name": "sort",
"value": "$sort",
"isList": false
}
],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1497017425,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,37 @@
{
"id": "75b1cd1c-ecc9-4c16-b8bc-a3b2153954cc",
"name": "music_player_control.add_favorite",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.add_favorite",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044549,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,178 @@
[
{
"id": "502c4820-23f6-4280-b7e7-be2abb7409db",
"data": [
{
"text": "it\u0027s my favourite",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "87e4a21f-d682-4397-a7a1-6f14c397d3aa",
"data": [
{
"text": "I",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "love",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "99cfb77a-4e7e-4eb6-baed-2aa5f132b771",
"data": [
{
"text": "put this track into my favourites",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "da909d83-bdd2-4fbb-a159-a315950c77a9",
"data": [
{
"text": "add to ",
"userDefined": false
},
{
"text": "faves",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f82e039c-0f0e-479f-a56d-7b2e434981b3",
"data": [
{
"text": "add this song to my ",
"userDefined": false
},
{
"text": "favourites",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "710574b0-bf68-4395-91be-9df929547295",
"data": [
{
"text": "add this song to ",
"userDefined": false
},
{
"text": "favorites",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "e1137399-47fc-4e30-9397-29510c535731",
"data": [
{
"text": "add it to ",
"userDefined": false
},
{
"text": "my favourites",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "e866c7e9-cad4-44ab-9327-6576e7b0d1b7",
"data": [
{
"text": "favourite",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f5898038-a109-47d3-aad6-6301f662fee2",
"data": [
{
"text": "could you mark it as favourite",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "179136ba-cd2e-40e8-aaae-6913404d2530",
"data": [
{
"text": "remember this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "48af2f2b-57ea-43d7-a399-4db18d83456c",
"data": [
{
"text": "fave",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,45 @@
{
"id": "6315f5ee-327f-4c47-8512-b5fe0bebe020",
"name": "music_player_control.add_playlist",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.add_playlist",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [
{
"id": "ee99ad29-dd22-4209-8a6e-bc6318c036e6",
"dataType": "@sys.any",
"name": "playlist",
"value": "$playlist",
"isList": false
}
],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044571,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,155 @@
[
{
"id": "f41942b0-e652-47a5-8e01-b0580c87e98a",
"data": [
{
"text": "put it into the playlist ",
"userDefined": false
},
{
"text": "Running",
"alias": "playlist",
"meta": "@sys.any",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "2f1ff037-28e1-401f-b978-034c2c9c89a8",
"data": [
{
"text": "put it on my ",
"userDefined": false
},
{
"text": "Late Night",
"alias": "playlist",
"meta": "@sys.any",
"userDefined": true
},
{
"text": " playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "533c99cb-c20b-46c7-a57d-702ac28dce06",
"data": [
{
"text": "move it to the ",
"userDefined": false
},
{
"text": "Gym",
"alias": "playlist",
"meta": "@sys.any",
"userDefined": true
},
{
"text": " playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "4d9d5238-1395-41bd-9b3e-44e54f460717",
"data": [
{
"text": "save ",
"userDefined": false
},
{
"text": "this",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " song to my ",
"userDefined": false
},
{
"text": "Workout",
"alias": "playlist",
"meta": "@sys.any",
"userDefined": true
},
{
"text": " playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "0762f05b-407d-4381-b5ec-fa92b1c07cd5",
"data": [
{
"text": "add ",
"userDefined": false
},
{
"text": "this",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " song to my playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "5fb50231-4168-4872-90d5-b97a57a4a0f3",
"data": [
{
"text": "add it to the playlist ",
"userDefined": false
},
{
"text": "Yoga",
"alias": "playlist",
"meta": "@sys.any",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "6608f743-b21c-403c-aa74-7f5d7ac39986",
"data": [
{
"text": "save ",
"userDefined": false
},
{
"text": "this",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " track in my playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "726c72bd-dd50-4d5f-bc69-627f04ef3b2f",
"name": "music_player_control.pause",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.pause",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044542,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,108 @@
[
{
"id": "162342e0-af29-485b-9460-ae0b3a2dc2e4",
"data": [
{
"text": "can you pause ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b11e776a-dd85-4c98-8eb7-225eac6bde6b",
"data": [
{
"text": "put it on pause",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3de0c5b1-ba70-4ffc-974b-849aecde4862",
"data": [
{
"text": "pause playing",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "60805177-3fb6-4f3f-aa39-8bae18c7aa24",
"data": [
{
"text": "pause song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3274762f-cd92-4188-b087-e3b8fa1819d1",
"data": [
{
"text": "pause ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "91abaa3b-b353-4fdd-a21a-26e140af062d",
"data": [
{
"text": "pause",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "86f2580c-0ab5-4c50-ad51-790e81f496b6",
"data": [
{
"text": "please pause",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b4aa7ed6-8b9a-4767-92f5-f3b7e2520be2",
"data": [
{
"text": "pause this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "ce58082e-3375-4229-a1d3-66b11fc44a33",
"name": "music_player_control.play",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.play",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044553,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,289 @@
[
{
"id": "f098f50b-845b-4ce3-aad9-cca7583c2924",
"data": [
{
"text": "can",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " you ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "4ac6acb4-9cdb-4438-92b3-960f3813048f",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " this",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "62cd9a42-5cf7-47bd-9538-d9cc3dbdd811",
"data": [
{
"text": "could",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " you ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " this one",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "5c738eb0-0705-4416-87c5-b6e4b9708433",
"data": [
{
"text": "play",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d9e5dc70-43b7-4bca-980e-abef66dc260b",
"data": [
{
"text": "play ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "dd0eb425-4ce5-4ca2-bbac-866b20b28c9f",
"data": [
{
"text": "could",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " you ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " it for ",
"userDefined": false
},
{
"text": "me",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "df174d51-6caa-40fe-a46c-b8743bd3625c",
"data": [
{
"text": "now",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "start",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " playing",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "48ba2aa1-e9b3-476d-8cc9-14e1fbacfd35",
"data": [
{
"text": "now",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "cb52c98e-ebb9-4929-9de9-71b8f26c02f5",
"data": [
{
"text": "start",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " playing ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "e3582d27-4f67-4fcf-8789-1ef3525a381e",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "fd5d4c65-2cb4-4657-a8f1-24497e01c595",
"data": [
{
"text": "and ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "92a51f0b-f1b2-42b1-a87a-4f664bfc12c6",
"data": [
{
"text": "I want you ",
"userDefined": false
},
{
"text": "to",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "af2b866d-f6e3-4425-92fc-85d9e1f308d7",
"name": "music_player_control.repeat",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.repeat",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044540,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,651 @@
[
{
"id": "8279fd5f-a41b-4e4b-8011-47edb5c916eb",
"data": [
{
"text": "I",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " want ",
"userDefined": false
},
{
"text": "to",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " listen ",
"userDefined": false
},
{
"text": "to",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " this song once again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "ff784cc5-d872-40a8-a8cf-1f45de2b3bfc",
"data": [
{
"text": "turn on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat mode for ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "37420c0f-179a-4340-92d5-d325a958368a",
"data": [
{
"text": "repeat ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "once",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "26570cc9-e98d-4787-9015-b369fd0cd8bb",
"data": [
{
"text": "play this track",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "once",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "7dc5bfeb-f60f-4009-8ae0-8501e35af89f",
"data": [
{
"text": "repeat this track one",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "more",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "time",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "23113a23-6a81-4038-813c-77c070bb5e48",
"data": [
{
"text": "put ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat mode",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d94650e0-e3bd-45df-a7bd-469219dbdfe7",
"data": [
{
"text": "put this ",
"userDefined": false
},
{
"text": "on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f26ff4f2-7c2b-4c4a-a182-d082ba947741",
"data": [
{
"text": "repeat this ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "once",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b8ce9e24-b751-4e4f-8c70-5fc3668b14fc",
"data": [
{
"text": "put this ",
"userDefined": false
},
{
"text": "track",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3c188110-0b09-48cb-8204-3e9ce532e84d",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " again from the ",
"userDefined": false
},
{
"text": "very",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " beginning",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "90b65c7a-10db-4d8f-ba1a-3760c985c800",
"data": [
{
"text": "turn on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat for this ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b8d3aa06-47af-4b17-a198-35bfa762c3c1",
"data": [
{
"text": "repeat this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "45a408d3-a6a1-4876-b39c-37038cf3a86e",
"data": [
{
"text": "repeat this ",
"userDefined": false
},
{
"text": "track",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "ef78b9dc-7026-4093-b90b-bf2dab521ed0",
"data": [
{
"text": "play this song again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "fa7dcfb0-1e77-4e3f-898f-dcb5d63fadb8",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " it ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "more",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "time",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "08043402-da62-43fa-bcce-7ef51551f6bb",
"data": [
{
"text": "repeat ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "more",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "time",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "05ab3a12-d5ae-4086-8b2a-8cb3307484a2",
"data": [
{
"text": "repeat",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "fcfe36ba-ccba-4deb-b2ae-db32292436e0",
"data": [
{
"text": "let\u0027",
"userDefined": false
},
{
"text": "s",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat this ",
"userDefined": false
},
{
"text": "track",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "a768f306-b47b-4710-b768-5e245fd9600f",
"data": [
{
"text": "turn on",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " repeat mode for this ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "be857c76-1ce9-4e42-989a-4504c779b8c1",
"data": [
{
"text": "repeat ",
"userDefined": false
},
{
"text": "mode for this track",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "4b18fef4-ef84-4a45-b029-a10bee4bb7ce",
"data": [
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " more time",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "a37e2385-2b6c-4745-922d-a16af957c352",
"data": [
{
"text": "can you repeat this track",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "a282d0fb-ec7d-4fe7-b892-3989b739c0ea",
"data": [
{
"text": "can",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " you repeat ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "29fea104-7adf-4d2d-8e73-e60015fa786a",
"data": [
{
"text": "repeat it",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "e0ce3070-f7ba-4db5-8494-4cb8a7e6c2d2",
"data": [
{
"text": "could",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " you repeat them",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "8c33ec71-5006-4b60-b7aa-43c24497dc60",
"data": [
{
"text": "repeat the ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "59061600-8e19-4a80-a021-b51d175782ff",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "2dbf6bda-4465-4ca5-baf0-dead73439e71",
"data": [
{
"text": "play",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " this song from the beginning",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "7c2058a4-e5e2-4456-82a3-238408e9347a",
"data": [
{
"text": "repeat please",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "bf047cdf-0cac-446c-8cdf-a43a40004f76",
"name": "music_player_control.resume",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.resume",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044557,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,156 @@
[
{
"id": "8b89201d-0660-437d-8d7b-90cb186462b3",
"data": [
{
"text": "resume playing",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "c508cdb6-06c0-4020-aa67-408d549d3ee8",
"data": [
{
"text": "resume ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "fb726b0a-c1a8-4610-bc6e-c6bb6a99e064",
"data": [
{
"text": "resume this song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "2ade82da-0276-4827-8049-b7c411af26b8",
"data": [
{
"text": "continue playing",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "454bfeb5-d225-4ecc-929f-1754f825a9dc",
"data": [
{
"text": "start",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " again",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "dfe058ca-d791-4a50-95b1-730531a40f10",
"data": [
{
"text": "restart ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "47d17eda-673e-46c1-b610-f5e6abc2062a",
"data": [
{
"text": "resume",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "a92e3ecc-6a47-43dd-b150-c4e7af84263e",
"data": [
{
"text": "continue",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "a87c1572-364c-4ad1-bbf5-34f52552f610",
"data": [
{
"text": "continue the ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "6d32a82a-bcbf-43fb-97c2-6d7f0d6fb82a",
"data": [
{
"text": "resume ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "ba64e2b5-1768-49e3-9134-b62627d17935",
"name": "music_player_control.shuffle",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.shuffle",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044563,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,62 @@
[
{
"id": "b1a766d4-6a1a-4f6a-a291-c0908b3e3c30",
"data": [
{
"text": "shuffle mode on",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "db5f6da7-cab0-49ff-b152-88887f425e76",
"data": [
{
"text": "turn on shuffle mode",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3c1050f4-4758-4ce2-b887-d7fc31b1fc9e",
"data": [
{
"text": "shuffle them",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "982e73e8-3e93-48a8-9063-7c46b123c5e4",
"data": [
{
"text": "shuffle this playlist",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f2a75ade-f319-4415-b754-95fb6c0614f7",
"data": [
{
"text": "shuffle",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "a097a69f-6573-4b40-8bac-f7274837583c",
"name": "music_player_control.skip_backward",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.skip_backward",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044561,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,210 @@
[
{
"id": "1d241e47-729a-4322-8138-21d4e5cfa0b9",
"data": [
{
"text": "previous song",
"userDefined": false
}
],
"isTemplate": false,
"count": 1,
"updated": 0
},
{
"id": "521e7df1-d8c9-40e7-b7e2-9ba7b6f341d5",
"data": [
{
"text": "skip to the back",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "e5801f56-fa54-4b4d-a4e9-032c1e9dcb35",
"data": [
{
"text": "skip ",
"userDefined": false
},
{
"text": "to",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " previous",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "6abd6674-fc27-4df9-b719-28a3d03e8106",
"data": [
{
"text": "previous",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "66d1ab50-bde7-4b9e-8d6e-9be69570c674",
"data": [
{
"text": "go back to previous",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "261689c1-64e2-4370-8fdd-fbc349f39702",
"data": [
{
"text": "go back to previous song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "031f6eb7-0589-444f-96dd-4b3cf18370b9",
"data": [
{
"text": "skip backward",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "03a5a9d6-ed0e-471c-a841-f2c99267aa5c",
"data": [
{
"text": "go back to the previous station",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "01f250d9-6765-4d1b-a97b-eecaa0bfafd3",
"data": [
{
"text": "go back",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b74b7c71-59d0-42c8-ad57-3b60009a6805",
"data": [
{
"text": "skip back",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "7f1995fb-6dd9-462e-b580-35d91c41f499",
"data": [
{
"text": "previous station",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "014415b7-bb59-4c40-9d70-82bf410ff095",
"data": [
{
"text": "skip to the previous song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "5d71fac5-626e-4e73-a904-a3f2500a05f3",
"data": [
{
"text": "back",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "170d4bb0-23f8-4ad2-8ced-f03bee8c710a",
"data": [
{
"text": "back",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "up",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " a ",
"userDefined": false
},
{
"text": "track",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "1c1dcb40-4800-45a4-b7d5-49cc48e188d0",
"data": [
{
"text": "go to previous",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "8e86a17e-f7fb-4aa0-b00f-78b46c9b8cf8",
"name": "music_player_control.skip_forward",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.skip_forward",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044580,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,534 @@
[
{
"id": "5c80d39d-cb85-4a53-bded-09b9e9d4ca00",
"data": [
{
"text": "the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "bc434b0a-8426-4856-a150-8f1cad0628fc",
"data": [
{
"text": "skip",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "4aeae22a-340a-4bb4-9cca-20e7d4f9245d",
"data": [
{
"text": "play ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "08268db3-f6d8-4b77-bd79-7dc2f94ffca5",
"data": [
{
"text": "what\u0027",
"userDefined": false
},
{
"text": "s",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "91daa8ef-57fe-474b-ac86-f09dc6dcba4b",
"data": [
{
"text": "go to the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "422be628-6763-43b3-af66-d270a46b5cb5",
"data": [
{
"text": "now the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "9d6efcbe-481a-4bf0-b8eb-d22d75c85575",
"data": [
{
"text": "go ",
"userDefined": false
},
{
"text": "forward",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "b02e239b-3df5-48b6-8307-335fba6dee9f",
"data": [
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " song",
"userDefined": false
}
],
"isTemplate": false,
"count": 1,
"updated": 0
},
{
"id": "125380ba-2616-426f-8b40-6dda2d744a2f",
"data": [
{
"text": "skip ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f9137299-0316-4fb7-b3f5-05c761b5c5f4",
"data": [
{
"text": "skip ",
"userDefined": false
},
{
"text": "to",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f0dacf73-31c1-413f-9041-c5824cd99933",
"data": [
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "8a538320-42eb-42cf-8d7e-a5397e325851",
"data": [
{
"text": "what\u0027",
"userDefined": false
},
{
"text": "s",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "19b42a16-1c43-4c21-9f69-664804d6fac1",
"data": [
{
"text": "skip to ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d77ba8c7-d460-4069-818b-f062c8b5702c",
"data": [
{
"text": "skip this ",
"userDefined": false
},
{
"text": "song",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "7559ee2a-8d03-4019-9600-781208b8bfe0",
"data": [
{
"text": "play ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " track",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "c3a6a359-f3c2-45bd-845a-ecf8b34f1e68",
"data": [
{
"text": "play ",
"userDefined": false
},
{
"text": "the",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "06afa98e-cd51-45dc-a659-33dbb4f68adf",
"data": [
{
"text": "play the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d7b33d22-3c4b-4226-a4cf-299e53e15fb4",
"data": [
{
"text": "play another ",
"userDefined": false
},
{
"text": "one",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "ccfea9da-87d5-4396-abb5-2227d6856c23",
"data": [
{
"text": "the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " please",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "39c4c4a1-c046-49de-b9d0-6589ac53c460",
"data": [
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "track",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "69071604-607f-4720-9849-5de4d0b0e6bb",
"data": [
{
"text": "skip ",
"userDefined": false
},
{
"text": "forward",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3f4cdaef-35ae-4d9b-8eb1-81f97e751fe4",
"data": [
{
"text": "what\u0027s",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "877b3fef-7517-4891-bcb3-c28fb580c7cc",
"data": [
{
"text": "the",
"meta": "@sys.ignore",
"userDefined": false
},
{
"text": " following song",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3e5289fb-0a2b-4e00-a8eb-3f32bc4f581e",
"data": [
{
"text": "go to the ",
"userDefined": false
},
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d6e2553f-668b-45f9-9b58-4eb554f3f4ad",
"data": [
{
"text": "next",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " please",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,37 @@
{
"id": "13727a0e-f535-4e29-9d6f-1c33863a25d7",
"name": "music_player_control.stop",
"auto": true,
"contexts": [
"music-player-control"
],
"responses": [
{
"resetContexts": false,
"action": "music_player_control.stop",
"affectedContexts": [
{
"name": "music-player-control",
"parameters": {},
"lifespan": 3
}
],
"parameters": [],
"messages": [
{
"type": 0,
"lang": "en",
"speech": []
}
],
"defaultResponsePlatforms": {},
"speech": []
}
],
"priority": 500000,
"webhookUsed": false,
"webhookForSlotFilling": false,
"lastUpdate": 1496995044566,
"fallbackIntent": false,
"events": []
}

View file

@ -0,0 +1,172 @@
[
{
"id": "7e5bf1d5-3562-4c8f-a89a-21aa5e244c4e",
"data": [
{
"text": "stop playing",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "f5edf560-d161-406e-9a58-07df60f1e6f8",
"data": [
{
"text": "enough ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "d2914a06-fad6-4880-ba95-c66b0d06e939",
"data": [
{
"text": "enough",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "75c6e6c6-d275-43a8-98c3-797b67fb7d23",
"data": [
{
"text": "stop",
"userDefined": false
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "580ccb15-4f99-4796-99f8-487733ec0e74",
"data": [
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "off",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "5e8bd1e2-d0f3-499f-b026-bc96fffd2329",
"data": [
{
"text": "can you stop the ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "853e3b36-e604-441c-b3e2-adf15dfc0637",
"data": [
{
"text": "stop the ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "3939fb30-219e-436b-97b3-151914b39b37",
"data": [
{
"text": "stop",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "it",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "48c9c678-871d-4075-975b-6a3b6a175d4c",
"data": [
{
"text": "could you ",
"userDefined": false
},
{
"text": "stop",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
},
{
"id": "9b351312-c262-40be-9dc0-732dafb17954",
"data": [
{
"text": "turn off",
"meta": "@sys.ignore",
"userDefined": true
},
{
"text": " ",
"userDefined": false
},
{
"text": "music",
"meta": "@sys.ignore",
"userDefined": true
}
],
"isTemplate": false,
"count": 0,
"updated": 0
}
]

View file

@ -0,0 +1,3 @@
{
"version": "1.0.0"
}

View file

@ -7,208 +7,18 @@
</PropertyGroup>
<ItemGroup>
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\agent.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Affiliate.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Affiliate_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\CallerPosition.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\CallerPosition_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Client.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Client_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCategory.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCategory_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCode.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCode_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceType.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceType_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\UserName.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\UserName_entries_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up - yes.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up - yes_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Telling Available Time.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Telling Available Time_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - no.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - no_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - yes.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - yes_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Create Work Order.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Create Work Order_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Default Fallback Intent.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Default Welcome Intent.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Start Schedule.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Start Schedule_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Name.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Name_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Position.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Position_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - no.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - no_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - yes.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - yes_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - no.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - no_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - yes.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - yes_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number_usersays_en.json" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\package.json" />
<None Remove="App_Data\DbInitializer\Agents\Rasa\2b6a288e-d891-40c6-96ce-6a0cf324545c.json" />
<Compile Remove="App_Data\DbInitializer\Agents\Dialogflow\Voicebot\**" />
<EmbeddedResource Remove="App_Data\DbInitializer\Agents\Dialogflow\Voicebot\**" />
<None Remove="App_Data\DbInitializer\Agents\Dialogflow\Voicebot\**" />
</ItemGroup>
<ItemGroup>
<None Remove="Settings\settings.app.json" />
<None Remove="Settings\settings.bot.json" />
<None Remove="Settings\settings.db.json" />
</ItemGroup>
<ItemGroup>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\agent.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Affiliate.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Affiliate_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\CallerPosition.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\CallerPosition_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Client.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\Client_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCategory.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCategory_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCode.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceCode_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceType.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\ServiceType_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\UserName.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\entities\UserName_entries_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up - yes.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up - yes_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Picked up_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Telling Available Time.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Affiliate Telling Available Time_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - no.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - no_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - yes.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Confirm Service Type - yes_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Create Work Order.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Create Work Order_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Default Fallback Intent.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Default Welcome Intent.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Start Schedule.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Start Schedule_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Name.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Name_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Position.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Caller Position_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - no.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - no_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - yes.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category - yes_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Service Category_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - no.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - no_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - yes.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number - yes_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\intents\Telling Store Number_usersays_en.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Dialogflow\VirtualAssistant\package.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="App_Data\DbInitializer\Agents\Rasa\2b6a288e-d891-40c6-96ce-6a0cf324545c.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Include="Settings\settings.app.json">
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
@ -237,7 +47,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\DbInitializer\Agents\Dialogflow\Voicebot\" />
<Folder Include="App_Data\DbInitializer\Agents\Rasa\" />
</ItemGroup>
</Project>

View file

@ -20,8 +20,31 @@ namespace BotSharp.UnitTest
var rasa = new RasaAi(dc, config);
// Round 1
var response = rasa.TextRequest(new AIRequest { Query = new String[] { "Hi" } });
Assert.AreEqual(response.Result.Metadata.IntentName, "greet");
var response = rasa.TextRequest(new AIRequest { Query = new String[] { "Can you play country music?" } });
Assert.AreEqual(response.Result.Metadata.IntentName, "music.play");
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "music-player-control").Lifespan, 3);
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "play-music").Lifespan, 5);
Assert.AreEqual(response.Result.Parameters.First(x => x.Key == "genre").Value, "country");
// Round 2
response = rasa.TextRequest(new AIRequest { Query = new String[] { "pause it" } });
Assert.AreEqual(response.Result.Metadata.IntentName, "music_player_control.pause");
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "music-player-control").Lifespan, 3);
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "play-music").Lifespan, 4);
// Round 3
response = rasa.TextRequest(new AIRequest { Query = new String[] { "continue" } });
Assert.AreEqual(response.Result.Metadata.IntentName, "music_player_control.resume");
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "music-player-control").Lifespan, 3);
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "play-music").Lifespan, 3);
// Round 4
response = rasa.TextRequest(new AIRequest { Query = new String[] { "play Hard Times by David Newman" } });
Assert.AreEqual(response.Result.Metadata.IntentName, "music.play");
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "music-player-control").Lifespan, 3);
Assert.AreEqual(response.Result.Contexts.First(x => x.Name == "play-music").Lifespan, 5);
Assert.AreEqual(response.Result.Parameters.First(x => x.Key == "song").Value, "Hard Times");
Assert.AreEqual(response.Result.Parameters.First(x => x.Key == "artist").Value, "David Newman");
}
}
}

View file

@ -1,6 +1,6 @@
{
"Rasa": {
"Nlu": "http://localhost:5000"
"Nlu": "http://gtx.local:5000"
},
"BotSharpAi": {

View file

@ -10,10 +10,10 @@ namespace BotSharp.UnitTest
{
public abstract class TestEssential
{
public static String BOT_ID = "5f98a0fd-e7e9-4155-9610-d3f40d026162";
public static String BOT_CLIENT_TOKEN = "2fffb9a1a9214144ab2717a37fa43c33";
public static String BOT_DEVELOPER_TOKEN = "2c7d224cf7274f9d93b4c65c31ca82fe";
public static String BOT_NAME = "Handybot";
public static String BOT_ID = "6a9fd374-c43d-447a-97f2-f37540d0c725";
public static String BOT_CLIENT_TOKEN = "43a0f48e3f1e41da822092e7e699426b";
public static String BOT_DEVELOPER_TOKEN = "cd1e4685c6a04d7db1f59e6853fd597b";
public static String BOT_NAME = "Spotify";
protected Database dc { get; set; }
protected string contentRoot;