-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtemplate.dflow
50 lines (45 loc) · 934 Bytes
/
template.dflow
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
entities
Entity ## entity name
## values
end
end
synonyms
Synonym ##name
## values
end
end
eservices
EServiceHTTP ## service name
verb: ## GET/POST/PUT
host: ## str
port: ## int
path: ## str
end
end
triggers
Intent ## intent name
## intent examples
## eg "one two three"
## PE:LOC['example 1'] for pretrained entities
## TE:entity_name for trainable entities
end
Event ## event name
## uri
end
end
dialogues
Dialogue ## name
on: ## trigger_name
responses:
## Form or ActionGroup
Form ## name
##slot_name: slot_type = HRI(request_expression, mapping)
##slot_name: slot_type = service_name(query,)[filter_response]
end,
ActionGroup ## actiongroup name
# Speak()
# FireEvent()
# service_name
end
end
end