Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update data version to 3.1 #37

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/nlu/chitchat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- intent: chitchat/nicetomeetyou
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/nlu/custom_actions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- intent: user_info
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/nlu/faq.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- intent: faq/osm_intro
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/nlu/general.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- intent: greet
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/nlu/lookups/tags.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- lookup: tag
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/nlu/out_of_scope.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
nlu:
- intent: out_of_scope/non_english
examples: |
Expand Down
2 changes: 1 addition & 1 deletion data/responses/responses.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
responses:
utter_faq/osm_common_errors:
- text: You can have a look about common geometric errors while editing map at https://wiki.openstreetmap.org/wiki/Error_reporting and other most common errors user make at https://help.openstreetmap.org/questions/1022/what-are-the-most-common-mapping-mistakes-that-other-users-make?sort=votes&page=2
Expand Down
2 changes: 1 addition & 1 deletion data/rules/rules.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
rules:
- rule: Say goodbye anytime the user says goodbye
steps:
Expand Down
2 changes: 1 addition & 1 deletion data/stories/stories.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.0"
version: "3.1"
stories:
- story: happy chitchat path 1
steps:
Expand Down
21 changes: 13 additions & 8 deletions domain.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.0'
version: '3.1'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
Expand Down Expand Up @@ -35,16 +35,24 @@ entities:
slots:
username:
type: text
mappings:
- type: from_text
influence_conversation: false
response_feedback_message:
type: any
mappings:
- type: from_text
influence_conversation: false
tag:
type: text
mappings:
- type: from_text
influence_conversation: false
requested_slot:
type: unfeaturized
type: any
influence_conversation: false
mappings:
- type: custom
responses:
utter_greet_guide:
- buttons:
Expand Down Expand Up @@ -344,13 +352,10 @@ actions:
forms:
username_form:
required_slots:
username:
- type: from_text
- username
response_feedback_form:
required_slots:
response_feedback_message:
- type: from_text
- response_feedback_message
tag_form:
required_slots:
tag:
- type: from_text
- tag