With a virtual assistant, it is possible to talk to several bots in one conversation and to create pipeline steps to allow a variety of features such as redaction and translation, among other conversational features.
A Virtual Assistant has the following components:
va
.{
"Name" : "MoneyTransferVa",
"Description": "A virtual assistant to aid monetary transfers",
"DefaultBotId": "info-bot",
"Bots" : [
{
"Type": "BOTARMY",
"Id": "info-bot",
"Enabled": true,
"Properties": {
"Name": "info-bot"
}
},
{
"Type": "BOTARMY",
"Id": "info-bot",
"Enabled": true,
"Properties": {
"Name": "transfer-bot"
}
},
],
"NluEngines": [
{
"Id": "TestVADispatcher",
"Type": "BOTARMY",
"Properties": {
"Secret": "srn:vault::acme:aws-cross-account-role:awscontent-lex-x-role",
"Nlp": "Lex"
}
}
],
"IngressPipeline": [
{
"Id": "CreditCardRedact",
"Type": "REGEX_REDACT",
"Properties": {
"Regex": "(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}"
}
}
],
"EgressPipeline": [],
"Events": {
"@SessionStart": [
{
"Id": "sessionStartMessage",
"Type": "SEND_MESSAGE",
"Properties": {
"Message": "Welcome to the transfer VA. Type 'help' for more info about what I do, or 'transfer' to make a monetary transfer."
}
},
{
"Id": "sessionStartMarkup",
"Type": "SEND_MARKUP",
"Properties": {
"Markup": "<TimelineMessage>\n <List title=\"Please select a number\" selectable=\"true\" interactionType=\"event\">\n <Item title=\"Option one is here\" id=\"1\"/>\n <Item title=\"Option two is here\" id=\"2\"/>\n <Item title=\"Option three is here\" id=\"3\"/>\n <Item title=\"Option four is here\" id=\"4\"/>\n </List>\n</TimelineMessage>",
"Context": {}
}
}
],
"@MissedInput": [
{
"Id": "missedInputMessage",
"Type": "SEND_MESSAGE",
"Properties": {
"Message": "Sorry, I didn't quite get that, could you phrase that differently?"
}
}
]
},
"Persona": "ReportBOT",
"Tags": []
}