-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
data/test/test_integration/domain_with_null_active_loop.yml
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
version: "3.1" | ||
|
||
intents: | ||
- greet | ||
- goodbye | ||
- affirm | ||
- deny | ||
- mood_great | ||
- mood_unhappy | ||
- bot_challenge | ||
- block | ||
|
||
entities: | ||
- account_type | ||
|
||
slots: | ||
account_type: | ||
type: categorical | ||
influence_conversation: true | ||
values: | ||
- savings | ||
- checking | ||
- credit | ||
mappings: | ||
- type: from_entity | ||
entity: account_type | ||
# uncomment below to make the story conflict happen | ||
conditions: | ||
- active_loop: null | ||
|
||
responses: | ||
utter_block_account: | ||
- text: "your account has been blocked" | ||
|
||
utter_checking: | ||
- text: "checking account" | ||
|
||
utter_credit: | ||
- text: "credit account" | ||
|
||
utter_nothing: | ||
- text: "no account type was specified" | ||
|
||
utter_goodbye: | ||
- text: "Bye" | ||
|
||
utter_iamabot: | ||
- text: "I am a bot, powered by Rasa." | ||
|
||
utter_greet: | ||
- text: "Hey! How are you?" | ||
|
||
utter_cheer_up: | ||
- text: 'Here is something to cheer you up' | ||
|
||
utter_did_that_help: | ||
- text: Did that help you? | ||
|
||
utter_happy: | ||
- text: Great, carry on! | ||
|
||
session_config: | ||
session_expiration_time: 60 | ||
carry_over_slots_to_new_session: true |
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