generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RandomNumber and CurrentTime intents (#5)
Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
1 parent
7c6a1d0
commit 5f7e6a3
Showing
2 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
language: "en" | ||
language: 'en' | ||
intents: | ||
ConversationProcess: | ||
data: | ||
- sentences: | ||
- "(Ask | Tell) {name} [to] {text}" | ||
- '(Ask | Tell) {name} [to] {text}' | ||
requires_context: | ||
domain: conversation | ||
RandomNumber: | ||
data: | ||
- sentences: | ||
- '(Pick|Generate) a [random] number between {random_range:from} and {random_range:to}' | ||
- '(Pick|Generate) a [random] number [from] {random_range:from} (through | to) {random_range:to}' | ||
- sentences: | ||
- '(Pick|Generate) a [random] number (below | up to) {random_range:to}' | ||
slots: | ||
from: 1 | ||
CurrentTime: | ||
data: | ||
- sentences: | ||
- "What's the time" | ||
- 'What is the time' | ||
- 'What time is it' | ||
lists: | ||
text: | ||
wildcard: true | ||
random_range: | ||
range: | ||
from: 0 | ||
to: 999999999 |