-
Notifications
You must be signed in to change notification settings - Fork 0
/
AINIGHTDemo.dialog
86 lines (86 loc) · 2.46 KB
/
AINIGHTDemo.dialog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"$kind": "Microsoft.AdaptiveDialog",
"$designer": {
"$designer": {
"name": "AINIGHTDemo",
"description": "",
"id": "5O7ma6"
}
},
"autoEndDialog": true,
"defaultResultProperty": "dialog.result",
"triggers": [
{
"$kind": "Microsoft.OnConversationUpdateActivity",
"$designer": {
"id": "376720"
},
"actions": [
{
"$kind": "Microsoft.Foreach",
"$designer": {
"id": "518944",
"name": "Loop: for each item"
},
"itemsProperty": "turn.Activity.membersAdded",
"actions": [
{
"$kind": "Microsoft.IfCondition",
"$designer": {
"id": "641773",
"name": "Branch: if/else"
},
"condition": "string(dialog.foreach.value.id) != string(turn.Activity.Recipient.id)",
"actions": [
{
"$kind": "Microsoft.SendActivity",
"$designer": {
"id": "859266",
"name": "Send a response"
},
"activity": "${SendActivity_Welcome()}"
},
{
"$kind": "Microsoft.BeginDialog",
"$designer": {
"id": "VnupGY"
},
"activityProcessed": true,
"dialog": "AppointmentDialog"
}
]
}
]
}
]
},
{
"$kind": "Microsoft.OnUnknownIntent",
"$designer": {
"id": "nCro8i"
},
"actions": [
{
"$kind": "Microsoft.QnAMakerDialog",
"$designer": {
"id": "YZ4b4n"
},
"knowledgeBaseId": "=settings.qna.knowledgebaseid",
"endpointKey": "=settings.qna.endpointkey",
"hostname": "=settings.qna.hostname",
"noAnswer": "Sorry, I did not find an answer.",
"threshold": 0.3,
"activeLearningCardTitle": "Did you mean:",
"cardNoMatchText": "None of the above.",
"cardNoMatchResponse": "Thanks for the feedback.",
"top": 3,
"isTest": false
}
]
}
],
"$schema": "https://raw.githubusercontent.com/microsoft/BotFramework-Composer/stable/Composer/packages/server/schemas/sdk.schema",
"generator": "AINIGHTDemo.lg",
"id": "AINIGHTDemo",
"recognizer": "AINIGHTDemo.lu.qna"
}