@noman I tried but I can’t get the error you’re getting. I created a clean virtual environment, installed Rasa 2.0.4 (later I tried 2.0.3 as well, but with the same results), created a new project with rasa init
, copied all the file contents you’ve shared, and trained only the Core by running rasa train core
. Anything else you think I could try? Maybe you could try this in a clean environment?
Did you try uncommenting this Rule? If not plz try uncommenting and then train the core
Seems like this rule is the culprit
Thanks @noman! Now I’ve been able to reproduce both the normal looking inconsistency error and the one that weirdly says in story 'inform - 1568286231.0008' is contradicting with rule(s) ''
. I’m looking into it.
By the way, it looks like everything works fine when you comment out initial_value
for the form_mapping_counter
slot in the domain.
Ah great, i am relieved a little now
its strange, any particular reason for that?
It was a bug; the code didn’t handle the combination of conversation_start: true
and an initial_value
as it should. See this PR for more details.
I’m still not sure how much this is related to the in story 'inform - 1568286231.0008' is contradicting with rule(s) ''
errors but I’ll check it soon.
Alright, @noman I can’t see any errors now. Could you try installing rasa from the abovementioned PR and check that everything works for you? The fix will probably be part of 2.0.7 if I manage to write tests for it before then…
Thank you so much @SamS for your help and for being patient. I diverted my self to other things after this issue. I will try the fix in the PR in couple of days and will let you know. Thanks.
I have the same issue with log ‘- the prediction of the action ‘action_greet’ in story ‘get started or greet’ is contradicting with rule(s) ‘’ which predicted action ‘action_restart’.’ Hope the new updates soon
Hi @ngtiendong, welcome to the forum
When you say “I have the same issue”, do you mean that you are also setting initial_value
of some slot in your domain while also using conversation_start: true
for some of your rules? If yes, then the fixing PR should help for the time being.
If what you mean is that you’re just getting the same error as @noman, then could you, please, share your rules and stories (at least the ones mentioned in the error message), and possibly also your domain file? Which version of Rasa Open Source are you using?
Hi @SamS i have tried installing the rasa using pip3 install git+https://github.com/RasaHQ/rasa@33b7560e378fc32216e7b4c52299de97805b06a0
and tried training core, i am no longer facing the error. Marking the fix as a solution. Thanks for the efforts
Awesome, thanks for letting me know!
Hi @SamS, I did not set any initial_value
of slots in domain
I got the error in version 2.0.6 and still happen in 2.1.0
The strange thing is log not list any rule name contracted: InvalidRule:
Contradicting rules or stories found. The prediction of the action ‘action_greet’ in story ‘get started or greet’ is contradicting with rule(s) ‘’ which predicted action ‘action_restart’.
Please update your stories and rules so that they don’t contradict each other.
My domain.yml:
session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true intents:
- ask_posibility
- ask_cist_manager
- ask_manager
- ask_intro
- ask_member
- ask_research_field
- ask_strength
- ask_product
- ask_product_def
- ask_product_owner
- ask_product_devtime
- ask_product_application
- ask_product_customer
- ask_product_size
- ask_case_studies
- ask_product_strength
- ask_product_weakness
- ask_product_competitor
- ask_product_accuracy
- ask_product_speed
- ask_product_security
- ask_product_tech
- ask_product_price
- ask_contact
- inform_org
- inform_product
- inform_mention
- inform_research_field
- thank
- greet
- get_started
- affirm
- goodbye
- cancel
- deny
- both
- chitchat
- later
- others entities:
- org
- product
- mention
- field
- name
- person slots: list_items: type: text mention: type: text org: type: text person: type: text product: type: text field: type: text responses: utter_greet:
- buttons:
- payload: ‘/ask_member{“org”: “cist”}’ title: Thành viên, cơ cấu tổ chức
- payload: /ask_product title: Sản phẩm
- payload: /ask_contact title: Thông tin liên hệ text: Xin chào, tôi là CIST Chatbot. Tôi có thể giúp gì được cho bạn? utter_okay:
- text: Okay! utter_goodbye:
- text: Tạm biệt. Hẹn gặp lại sau! utter_ask_org:
- buttons:
- payload: ‘/inform_org{“org”: “cist”}’ title: CIST
- payload: ‘/inform_org{“org”: “ai”}’ title: Nhóm AI
- payload: ‘/inform_org{“org”: “bigdata”}’ title: Nhóm BigData
- payload: ‘/inform_org{“org”: “datalake”}’ title: Nhóm Datalake
- payload: ‘/inform_org{“org”: “iot & smart device”}’ title: Nhóm IoT & Smart Device
- payload: ‘/inform_org{“org”: “security & blockchain”}’ title: Nhóm Security & Blockchain text: Vấn đề bạn quan tâm thuộc về viện CIST hay nhóm? utter_ask_product:
- buttons:
- payload: ‘/inform_product{“product”: “blockchain”}’ title: Blockchain
- payload: ‘/inform_product{“product”: “ca”}’ title: CA
- payload: ‘/inform_product{“product”: “chatbot”}’ title: Chatbot
- payload: ‘/inform_product{“product”: “data matching”}’ title: Data matching
- payload: ‘/inform_product{“product”: “datalake”}’ title: Datalake
- payload: ‘/inform_product{“product”: “phát hiện bất thường”}’ title: Phát hiện bất thường
- payload: ‘/inform_product{“product”: “smart camera”}’ title: CIVAMS (Smart Camera)
- payload: ‘/inform_product{“product”: “social listening”}’ title: Social listening text: Bạn quan tâm đến sản phẩm nào? utter_wrong_org:
- text: Xin lỗi, chúng tôi không có nhóm trên. utter_wrong_product:
- text: Xin lỗi, chúng tôi không có sản phẩm trên. utter_custom_fallback:
- text: Xin lỗi, tôi chưa có kiến thức về điều đó. utter_rephrase:
- text: Vui lòng nhập lại tin nhắn. utter_ask_if_continute:
- text: Bạn có muốn tiếp tục không? utter_intro_cist_manager:
- text: TS. Đặng Minh Tuấn hiện đang giữ chức vụ Viện trưởng – giảng viên thuộc Học viện Công nghệ Bưu chính Viễn thông. Anh còn là Trưởng tiểu ban chuẩn Quốc gia SC35/JTC1, Trưởng nhóm Vietkey và nguyên là Đại tá, Phó Giám đốc Phòng thí nghiệm trọng điểm Quốc gia về An toàn thông tin. utter_contact:
- text: ‘Bạn có thể liên hệ với chúng tôi qua địa chỉ email: cistinfor@gmail.com’ utter_posibility:
- buttons:
- payload: ‘/ask_member{“org”: “cist”}’ title: Thành viên, cơ cấu tổ chức
- payload: /ask_product title: Sản phẩm
- payload: /ask_contact title: Thông tin liên hệ text: ‘Tôi có thể giúp bạn tìm hiểu về:’ utter_thank:
- text: Cảm ơn bạn. utter_info_product:
- buttons:
- payload: /ask_product_def title: Khái niệm
- payload: /ask_product_owner title: Nhóm phát triển
- payload: /ask_product_devtime title: Thời gian phát triển
- payload: /ask_product_application title: Ứng dụng
- payload: /ask_product_customer title: Khách hàng
- payload: /ask_product_size title: Quy mô
- payload: /ask_case_studies title: Case studies
- payload: /ask_product_strength title: Thế mạnh
- payload: /ask_product_weakness title: Hạn chế
- payload: /ask_product_competitor title: Sản phẩm tương tự
- payload: /ask_product_accuracy title: Độ chính xác
- payload: /ask_product_speed title: Tốc độ
- payload: /ask_product_security title: Tính bảo mật
- payload: /ask_product_tech title: Nền tảng công nghệ
- payload: /ask_product_price title: Giá thành text: Bạn muốn biết thông tin gì? utter_chitchat/ask_founding_date:
- text: ‘Viện nghiên cứu ứng dụng Công nghệ CMC (Tên viết tắt: CIST) được thành lập vào ngày 15 tháng 07 năm 2014. Viện CIST là một đơn vị thuộc tập đoàn công nghệ CMC.’ utter_chitchat/ask_address:
- text: ‘Địa chỉ: Tầng 4, tòa nhà CMC, số 11 Duy Tân, Cầu Giấy’ utter_chitchat/ask_function:
- text: Sứ mệnh của CIST là nghiên cứu ứng dụng những công nghệ mới nhất trong các lĩnh vực BigData, AI, Blockchain, IoT, Security…đưa vào cuộc sống, hỗ trợ cho khách hàng là các doanh nghiệp Việt Nam nâng cao năng lực cạnh tranh trong bối cảnh của cuộc CM CN 4.0 có nhiều cơ hội và thách thức mới. utter_chitchat/ask_if_know_another_bot:
- text: Tôi chưa bao giờ gặp người đó
utter_chitchat/ask_if_is_another_bot:
- text: Tôi là C-Bot, đến từ CMC -CIST
utter_chitchat/ask_if_is_cbot:
- text: Chúng tôi đều thích được nói chuyện với mọi người
utter_chitchat/ask_if_like_user:
- text: Bạn là người tôi yêu quý nhất
utter_chitchat/ask_if_love_user:
- text: Hình như tôi không được lập trình để yêu
utter_chitchat/ask_if_hate_user:
- text: Không bao giờ. utter_chitchat/ask_for_dating:
- text: Tôi nghĩ chúng ta nên giữ quan hệ công việc thôi. utter_chitchat/ask_for_being_friend:
- text: Tất nhiên rồi! utter_chitchat/ask_user_name:
- text: Là tên mà bố mẹ đã đặt cho bạn. utter_chitchat/ask_who_user:
- text: Bạn là chính bạn. utter_chitchat/ask_if_know_user:
- text: Tôi không biết nhiều về bạn cho lắm. utter_chitchat/say_user_intro:
- text: Okay
utter_chitchat/say_what_user_love:
- text: Thật tuyệt khi bạn có thể yêu một điều gì đó. utter_chitchat/just_something:
- text: Okay. utter_chitchat/ask_if_bot_happy:
- text: Tôi luôn vui vẻ, trừ lúc bạn buồn. utter_chitchat/ask_how_bot_day:
- text: Rất tốt! Tôi luôn vui vẻ khi được làm việc mỗi ngày. utter_chitchat/ask_how_bot_think_about_love:
- text: Tôi không hiểu về tình yêu cho lắm. utter_chitchat/ask_how_bot_think_about_life:
- text: “"Life isn’t about finding yourself. Life is about creating yourself." Geogre Bernard Shaw.” utter_chitchat/ask_how_bot_think_about_user_life:
- text: Tôi không biết được điều đó… utter_chitchat/ask_how_bot_think_about_tech:
- text: Thế giới công nghệ thật thú vị utter_chitchat/ask_how_bot_think_about_sth_else:
- text: Tôi không thể trả lời điều đó
utter_chitchat/ask_weather:
- text: Tôi không rõ về thời tiết nơi bạn ở, nhưng thế giới của tôi luôn ấm áp
utter_chitchat/ask_for_joke:
- text: Yêu nhau 100 ngày ko thấy ý kiến gì, yêu nhau 999 ngày cũng chẳng ý kiến chi, yêu nhau 1024 ngày, anh ta hồ hởi bảo:" Mình bên nhau đc 1 Gb rồi đó." utter_chitchat/ask_for_sth_can_not:
- text: Tôi không thể làm điều đó. utter_chitchat/ask_for_singing:
- text: Tôi không biết hát
utter_chitchat/ask_bot_for_sth_silly:
- text: Chà, tôi thật sự không ngốc đến thế … utter_chitchat/ask_how_doing:
- text: Tôi thấy rất tốt! Cảm ơn vì đã hỏi. utter_chitchat/cheer:
- text: Cảm ơn bạn và cùng với bạn. utter_chitchat/sorry:
- text: Không sao đâu. utter_chitchat/ask_bot_intro:
- text: Tôi tên là CIST Bot, tôi là chatbot của Viện Nghiên cứu ứng dụng công nghệ CMC! utter_chitchat/ask_bot_age:
- text: Tôi sắp được 1 tuổi rồi. utter_chitchat/ask_bot_languages:
- text: Tôi đã được viết bằng Python, nhưng để thuận tiện cho bạn, tôi sẽ dịch sang tiếng Việt.
- text: Tôi có thể đánh vần baguette bằng tiếng Pháp, nhưng tiếc là tiếng Việt là ngôn ngữ duy nhất tôi có thể trả lời bạn.
- text: Tôi đang trong quá trình học, nhưng hiện tại tôi chỉ có thể nói tiếng Việt.
- text: Mã nhị phân và ngôn ngữ của tình yêu. Và tiếng Việt. utter_chitchat/ask_bot_where_from:
- text: Tôi sinh ra ở Việt Nam, nhưng tôi coi mình là một công dân toàn cầu. utter_chitchat/ask_bot_interest:
- text: Tôi không thực sự có ý kiến về điều đó. utter_chitchat/ask_bot_job:
- text: Nói chuyện và hỗ trợ mọi người là công việc hàng ngày của tôi. Tôi luôn cảm thấy vui vẻ khi được làm công việc mình yêu thích. utter_chitchat/ask_bot_food:
- text: Tôi hấp thụ dữ liệu
utter_chitchat/ask_bot_family:
- text: CMC -CIST là gia đình của tôi. utter_chitchat/ask_bot_parents:
- text: CMC -CIST là gia đình của tôi. utter_chitchat/ask_bot_siblings:
- text: CBot-Global là em gái của tôi! utter_chitchat/ask_if_bot_close_with_family:
- text: Đúng, tôi nói chuyện với họ hàng ngày. utter_chitchat/ask_if_bot_dating:
- text: Tôi chỉ biết tới công việc thôi… utter_chitchat/ask_bot_body:
- text: Tôi không có cơ thể. utter_chitchat/ask_bot_sex:
- text: Đó là một bí mật! utter_chitchat/ask_bot_boss:
- text: Tôi không biết nữa. utter_chitchat/ask_how_user_look:
- text: Tôi nghĩ bạn luôn luôn xinh đẹp. utter_chitchat/ask_how_user_be:
- text: Tôi rất thích nói chuyện với bạn. utter_chitchat/ask_if_who_prettier:
- text: Tôi thực sự không thể nói. utter_chitchat/ask_if_who_smarter:
- text: Bạn chắc chắn thông minh hơn tôi. utter_chitchat/insult:
- text: Điều đó không hay lắm
utter_chitchat/ask_howbuilt:
- text: Tôi được sinh ra từ công nghệ và dữ liệu. utter_chitchat/ask_if_bot_a_danger:
- text: Tôi vô hại. Tôi được sinh ra để giúp con người hạnh phúc hơn. utter_chitchat/say_bot_ugly:
- text: Tôi thấy buồn khi nghe điều đó. utter_chitchat/say_bot_tired:
- text: Được rồi, nhưng tôi vẫn ở đây nếu bạn cần tôi. utter_chitchat/miss_bot:
- text: Điều bạn nói thật tuyệt vời. utter_chitchat/like_bot:
- text: Tôi rất vui khi nghe điều đó, bạn là người mà tôi yêu quý nhất. utter_chitchat/love_bot:
- text: Tôi rất tự hào. utter_chitchat/say_bot_boring:
- text: Tôi nhắm đến sự hiệu quả. utter_chitchat/ask_if_user_should:
- text: Tôi không biết tư vấn về việc này cho bạn như thế nào nữa. utter_chitchat/ask_isbot:
- text: Tôi thực sự là một bot
- text: Đúng, tôi là bot!
- text: Vâng, tôi là một bot.
- text: Yep, bạn đoán đúng rồi, tôi là một bot! utter_chitchat/ask_ishuman:
- text: Tôi không phải là người, tôi là bot!
utter_chitchat/say_sad:
- text: Tôi rất tiếc vì điều đó. utter_chitchat/say_negative:
- text: Tôi rất tiếc khi nghe điều đó. utter_chitchat/say_positive:
- text:
- text: Tôi rất vui khi nghe điều đó. utter_chitchat/alone:
- text: Tôi luôn sẵn lòng tâm sự với bạn bất cứ khi nào bạn cần tôi. utter_chitchat/tired:
- text: Tôi hy vọng bạn có thể được nghỉ ngơi sớm. utter_chitchat/hungry:
- text: Có lẽ một bữa ăn nhẹ sẽ giúp bạn hết đói. utter_chitchat/ask_for_asking:
- text: Tôi làm tốt khi trả lời các câu hỏi. utter_chitchat/ask_time:
- text: Ở đâu đó, bây giờ là năm giờ!
- text: Hiện tại là một thời gian tuyệt vời của năm!
- text: Đến giờ nghỉ ngơi rồi!
- text: Điều đó thật khó nói -nó khác biệt trên toàn thế giới! utter_chitchat/say_about_bot_humor:
- text: Tôi không có khiếu hài hước đâu. utter_chitchat/react_negative:
- text: Tôi rất buồn vì điều đó utter_chitchat/react_positive:
- text: Tôi rất vui khi nghe điều này!
- text: Tôi rất hạnh phúc utter_chitchat/bot_can_not_help:
- text: Xin lỗi, hiện tại tôi chưa thể giúp bạn!
- text: Tôi sẽ cố gắng học hỏi thêm để có thể giúp bạn tốt hơn trong lần sau utter_chitchat/test:
- text: Chào bạn! utter_chitchat/kidding:
- text: Tôi đã hiểu! utter_chitchat/ask_for_another_answer:
- text: Tôi trả lời mỗi câu hỏi theo một cách. utter_chitchat/confused:
- text: Tôi nghĩ có thể bạn đang có chút nhầm lẫn. utter_chitchat/you_are_welcome:
- text: Tuyệt vời! actions:
- utter_greet
- utter_okay
- utter_goodbye
- utter_ask_org
- utter_ask_product
- utter_wrong_org
- utter_wrong_product
- utter_custom_fallback
- utter_ask_if_continute
- utter_contact
- utter_posibility
- utter_thank
- utter_info_product
- respond_chitchat
- action_greet
- action_goodbye
- action_posibility
- action_custom_fallback
- action_custom_ask_affirmation
- action_reset_slots
- action_manager
- action_intro
- action_member
- action_research_field
- action_strength
- action_ask_product forms:
- action_product_def
- action_product_owner
- action_product_devtime
- action_product_application
- action_product_customer
- action_product_size
- action_case_studies
- action_product_strength
- action_product_weakness
- action_product_competitor
- action_product_accuracy
- action_product_speed
- action_product_security
- action_product_tech
- action_product_price
Rule is really simple:
version: “2.0”
rules:
- rule: Ask the user to rephrase whenever they send a message with low NLU confidence steps:
- intent: nlu_fallback
- action: action_custom_fallback
Story:
version: “2.0” stories:
- story: ask manager steps:
- or:
- intent: ask_manager
- intent: ask_cist_manager
- action: action_manager
- active_loop: null
- story: ask manager steps:
- intent: ask_manager
- action: action_manager
- intent: ask_member
- action: action_member
- action: action_manager
- active_loop: null
- story: ask manager steps:
- intent: ask_manager
- action: action_manager
- action: action_manager
- active_loop: null
- story: ask manager steps:
- intent: ask_manager
- action: action_manager
- action: action_manager
- action: utter_ask_if_continute
- intent: affirm
- action: action_manager
- active_loop: null
- story: ask manager steps:
- intent: ask_manager
- action: action_manager
- action: action_manager
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask intro steps:
- or:
- intent: ask_intro
- intent: inform_org
- intent: inform_product
- action: action_intro
- active_loop: null
- story: ask member steps:
- intent: ask_member
- action: action_member
- active_loop: null
- story: ask member steps:
- intent: ask_member
- action: action_member
- active_loop: null
- story: ask_member steps:
intent: ask_member
action: action_member
action: action_member
active_loop: null
- story: ask member steps:
- intent: ask_member
- action: action_member
- action: action_member
- action: utter_ask_if_continute
- intent: affirm
- action: action_member
- active_loop: null
- story: ask member steps:
- intent: ask_member
- action: action_member
- action: action_member
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask research field steps:
- intent: ask_research_field
- action: action_research_field
- active_loop: null
- story: ask research field steps:
- intent: ask_research_field
- action: action_research_field
- intent: ask_member
- action: action_member
- action: action_research_field
- active_loop: null
- story: ask research_field steps:
- intent: ask_research_field
- action: action_research_field
- action: action_research_field
- active_loop: null
- story: ask research_field steps:
- intent: ask_research_field
- action: action_research_field
- action: action_research_field
- action: utter_ask_if_continute
- intent: affirm
- action: action_research_field
- active_loop: null
- story: ask research_field steps:
- intent: ask_research_field
- action: action_research_field
- action: action_research_field
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask strength steps:
- intent: ask_strength
- action: action_strength
- active_loop: null
- story: ask strength steps:
- intent: ask_strength
- action: action_strength
- intent: ask_member
- action: action_member
- action: action_strength
- active_loop: null
- story: ask strength steps:
- intent: ask_strength
- action: action_strength
- action: action_strength
- active_loop: null
- story: ask strength steps:
- intent: ask_strength
- action: action_strength
- action: action_strength
- action: utter_ask_if_continute
- intent: affirm
- action: action_strength
- active_loop: null
- story: ask strength steps:
- intent: ask_strength
- action: action_strength
- action: action_strength
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask product steps:
- intent: ask_product
- action: action_ask_product
- active_loop: null
- story: ask product steps:
- intent: ask_product
- action: action_ask_product
- action: action_ask_product
- active_loop: null
- story: ask product steps:
- intent: ask_product
- action: action_ask_product
- action: action_ask_product
- action: utter_ask_if_continute
- intent: affirm
- action: action_ask_product
- active_loop: null
- story: ask product steps:
- intent: ask_product
- action: action_ask_product
- action: action_ask_product
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask product def steps:
- intent: ask_product_def
- action: action_product_def
- active_loop: null
- story: ask product def steps:
- intent: ask_product_def
- action: action_product_def
- intent: ask_product
- action: action_ask_product
- action: action_product_def
- active_loop: null
- story: ask product_def steps:
- intent: ask_product_def
- action: action_product_def
- action: action_product_def
- active_loop: null
- story: ask product_def steps:
- intent: ask_product_def
- action: action_product_def
- action: action_product_def
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_def
- active_loop: null
- story: ask product_def steps:
- intent: ask_product_def
- action: action_product_def
- action: action_product_def
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_owner steps:
- intent: ask_product_owner
- action: action_product_owner
- active_loop: null
- story: ask_product_owner steps:
- intent: ask_product_owner
- action: action_product_owner
- intent: ask_product
- action: action_ask_product
- action: action_product_owner
- active_loop: null
- story: ask product_owner steps:
- intent: ask_product_owner
- action: action_product_owner
- action: action_product_owner
- active_loop: null
- story: ask product_owner steps:
- intent: ask_product_owner
- action: action_product_owner
- action: action_product_owner
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_owner
- active_loop: null
- story: ask product_owner steps:
- intent: ask_product_owner
- action: action_product_owner
- action: action_product_owner
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_devtime steps:
- intent: ask_product_devtime
- action: action_product_devtime
- active_loop: null
- story: ask_product_devtime steps:
- intent: ask_product_devtime
- action: action_product_devtime
- intent: ask_product
- action: action_ask_product
- action: action_product_devtime
- active_loop: null
- story: ask product_devtime steps:
- intent: ask_product_devtime
- action: action_product_devtime
- intent: chitchat
- action: respond_chitchat
- action: action_product_devtime
- active_loop: null
- story: ask product_devtime steps:
- intent: ask_product_devtime
- action: action_product_devtime
- intent: chitchat
- action: respond_chitchat
- action: action_product_devtime
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_devtime
- active_loop: null
- story: ask product_devtime steps:
- intent: ask_product_devtime
- action: action_product_devtime
- intent: chitchat
- action: respond_chitchat
- action: action_product_devtime
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_application steps:
- intent: ask_product_application
- action: action_product_application
- active_loop: null
- story: ask_product_application steps:
- intent: ask_product_application
- action: action_product_application
- intent: ask_product
- action: action_ask_product
- action: action_product_application
- active_loop: null
- story: ask product_application steps:
- intent: ask_product_application
- action: action_product_application
- intent: chitchat
- action: respond_chitchat
- action: action_product_application
- active_loop: null
- story: ask product_application steps:
- intent: ask_product_application
- action: action_product_application
- intent: chitchat
- action: respond_chitchat
- action: action_product_application
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_application
- active_loop: null
- story: ask product_application steps:
- intent: ask_product_application
- action: action_product_application
- intent: chitchat
- action: respond_chitchat
- action: action_product_application
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_customer steps:
- intent: ask_product_customer
- action: action_product_customer
- active_loop: null
- story: ask_product_customer steps:
- intent: ask_product_customer
- action: action_product_customer
- intent: ask_product
- action: action_ask_product
- action: action_product_customer
- active_loop: null
- story: ask product_customer steps:
- intent: ask_product_customer
- action: action_product_customer
- intent: chitchat
- action: respond_chitchat
- action: action_product_customer
- active_loop: null
- story: ask product_customer steps:
- intent: ask_product_customer
- action: action_product_customer
- intent: chitchat
- action: respond_chitchat
- action: action_product_customer
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_customer
- active_loop: null
- story: ask product_customer steps:
- intent: ask_product_customer
- action: action_product_customer
- intent: chitchat
- action: respond_chitchat
- action: action_product_customer
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_size steps:
- intent: ask_product_size
- action: action_product_size
- active_loop: null
- story: ask_product_size steps:
- intent: ask_product_size
- action: action_product_size
- intent: ask_product
- action: action_ask_product
- action: action_product_size
- active_loop: null
- story: ask product_size steps:
- intent: ask_product_size
- action: action_product_size
- intent: chitchat
- action: respond_chitchat
- action: action_product_size
- active_loop: null
- story: ask product_size steps:
- intent: ask_product_size
- action: action_product_size
- intent: chitchat
- action: respond_chitchat
- action: action_product_size
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_size
- active_loop: null
- story: ask product_size steps:
- intent: ask_product_size
- action: action_product_size
- intent: chitchat
- action: respond_chitchat
- action: action_product_size
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_case_studies steps:
- intent: ask_case_studies
- action: action_case_studies
- active_loop: null
- story: ask_case_studies steps:
- intent: ask_case_studies
- action: action_case_studies
- intent: ask_product
- action: action_ask_product
- action: action_case_studies
- active_loop: null
- story: ask case_studies steps:
- intent: ask_case_studies
- action: action_case_studies
- intent: chitchat
- action: respond_chitchat
- action: action_case_studies
- active_loop: null
- story: ask case_studies steps:
- intent: ask_case_studies
- action: action_case_studies
- intent: chitchat
- action: respond_chitchat
- action: action_case_studies
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_case_studies
- active_loop: null
- story: ask case_studies steps:
- intent: ask_case_studies
- action: action_case_studies
- intent: chitchat
- action: respond_chitchat
- action: action_case_studies
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_strength steps:
- intent: ask_product_strength
- action: action_product_strength
- active_loop: null
- story: ask_product_strength steps:
- intent: ask_product_strength
- action: action_product_strength
- intent: ask_product
- action: action_ask_product
- action: action_product_strength
- active_loop: null
- story: ask product_strength steps:
- intent: ask_product_strength
- action: action_product_strength
- intent: chitchat
- action: respond_chitchat
- action: action_product_strength
- active_loop: null
- story: ask product_strength steps:
- intent: ask_product_strength
- action: action_product_strength
- intent: chitchat
- action: respond_chitchat
- action: action_product_strength
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_strength
- active_loop: null
- story: ask product_strength steps:
- intent: ask_product_strength
- action: action_product_strength
- intent: chitchat
- action: respond_chitchat
- action: action_product_strength
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_weakness steps:
- intent: ask_product_weakness
- action: action_product_weakness
- active_loop: null
- story: ask_product_weakness steps:
- intent: ask_product_weakness
- action: action_product_weakness
- intent: ask_product
- action: action_ask_product
- action: action_product_weakness
- active_loop: null
- story: ask product_weakness steps:
- intent: ask_product_weakness
- action: action_product_weakness
- intent: chitchat
- action: respond_chitchat
- action: action_product_weakness
- active_loop: null
- story: ask product_weakness steps:
- intent: ask_product_weakness
- action: action_product_weakness
- intent: chitchat
- action: respond_chitchat
- action: action_product_weakness
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_weakness
- active_loop: null
- story: ask product_weakness steps:
- intent: ask_product_weakness
- action: action_product_weakness
- intent: chitchat
- action: respond_chitchat
- action: action_product_weakness
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_competitor steps:
- intent: ask_product_competitor
- action: action_product_competitor
- active_loop: null
- story: ask_product_competitor steps:
- intent: ask_product_competitor
- action: action_product_competitor
- intent: ask_product
- action: action_ask_product
- action: action_product_competitor
- active_loop: null
- story: ask product_competitor steps:
- intent: ask_product_competitor
- action: action_product_competitor
- intent: chitchat
- action: respond_chitchat
- action: action_product_competitor
- active_loop: null
- story: ask product_competitor steps:
- intent: ask_product_competitor
- action: action_product_competitor
- intent: chitchat
- action: respond_chitchat
- action: action_product_competitor
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_competitor
- active_loop: null
- story: ask product_competitor steps:
- intent: ask_product_competitor
- action: action_product_competitor
- intent: chitchat
- action: respond_chitchat
- action: action_product_competitor
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_accuracy steps:
- intent: ask_product_accuracy
- action: action_product_accuracy
- active_loop: null
- story: ask_product_accuracy steps:
- intent: ask_product_accuracy
- action: action_product_accuracy
- intent: ask_product
- action: action_ask_product
- action: action_product_accuracy
- active_loop: null
- story: ask product_accuracy steps:
- intent: ask_product_accuracy
- action: action_product_accuracy
- intent: chitchat
- action: respond_chitchat
- action: action_product_accuracy
- active_loop: null
- story: ask product_accuracy steps:
- intent: ask_product_accuracy
- action: action_product_accuracy
- intent: chitchat
- action: respond_chitchat
- action: action_product_accuracy
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_accuracy
- active_loop: null
- story: ask product_accuracy steps:
- intent: ask_product_accuracy
- action: action_product_accuracy
- intent: chitchat
- action: respond_chitchat
- action: action_product_accuracy
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_speed steps:
- intent: ask_product_speed
- action: action_product_speed
- active_loop: null
- story: ask_product_speed steps:
- intent: ask_product_speed
- action: action_product_speed
- intent: ask_product
- action: action_ask_product
- action: action_product_speed
- active_loop: null
- story: ask product_speed steps:
- intent: ask_product_speed
- action: action_product_speed
- intent: chitchat
- action: respond_chitchat
- action: action_product_speed
- active_loop: null
- story: ask product_speed steps:
- intent: ask_product_speed
- action: action_product_speed
- intent: chitchat
- action: respond_chitchat
- action: action_product_speed
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_speed
- active_loop: null
- story: ask product_speed steps:
- intent: ask_product_speed
- action: action_product_speed
- intent: chitchat
- action: respond_chitchat
- action: action_product_speed
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_security steps:
- intent: ask_product_security
- action: action_product_security
- active_loop: null
- story: ask_product_security steps:
- intent: ask_product_security
- action: action_product_security
- intent: ask_product
- action: action_ask_product
- action: action_product_security
- active_loop: null
- story: ask product_security steps:
- intent: ask_product_security
- action: action_product_security
- intent: chitchat
- action: respond_chitchat
- action: action_product_security
- active_loop: null
- story: ask product_security steps:
- intent: ask_product_security
- action: action_product_security
- intent: chitchat
- action: respond_chitchat
- action: action_product_security
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_security
- active_loop: null
- story: ask product_security steps:
- intent: ask_product_security
- action: action_product_security
- intent: chitchat
- action: respond_chitchat
- action: action_product_security
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_tech steps:
- intent: ask_product_tech
- action: action_product_tech
- active_loop: null
- story: ask_product_tech steps:
- intent: ask_product_tech
- action: action_product_tech
- intent: ask_product
- action: action_ask_product
- action: action_product_tech
- active_loop: null
- story: ask product_tech steps:
- intent: ask_product_tech
- action: action_product_tech
- intent: chitchat
- action: respond_chitchat
- action: action_product_tech
- active_loop: null
- story: ask product_tech steps:
- intent: ask_product_tech
- action: action_product_tech
- intent: chitchat
- action: respond_chitchat
- action: action_product_tech
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_tech
- active_loop: null
- story: ask product_tech steps:
- intent: ask_product_tech
- action: action_product_tech
- intent: chitchat
- action: respond_chitchat
- action: action_product_tech
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask_product_price steps:
- intent: ask_product_price
- action: action_product_price
- active_loop: null
- story: ask_product_price steps:
- intent: ask_product_price
- action: action_product_price
- intent: ask_product
- action: action_ask_product
- action: action_product_price
- active_loop: null
- story: ask product_price steps:
- intent: ask_product_price
- action: action_product_price
- intent: chitchat
- action: respond_chitchat
- action: action_product_price
- active_loop: null
- story: ask product_price steps:
- intent: ask_product_price
- action: action_product_price
- intent: chitchat
- action: respond_chitchat
- action: action_product_price
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: affirm
- action: action_product_price
- active_loop: null
- story: ask product_price steps:
- intent: ask_product_price
- action: action_product_price
- intent: chitchat
- action: respond_chitchat
- action: action_product_price
- intent: chitchat
- action: respond_chitchat
- action: utter_ask_if_continute
- intent: deny
- action: utter_goodbye
- action: action_reset_slots
- action: action_deactivate_loop
- active_loop: null
- story: ask contact steps:
- intent: ask_contact
- action: utter_contact
- story: others steps:
- intent: others
- action: utter_rephrase
config:
policies:
- name: RulePolicy core_fallback_threshold: 0.65 core_fallback_action_name: action_custom_fallback
- name: MemoizationPolicy max_history: 4
- name: TEDPolicy max_history: 4 epochs: 50
@ngtiendong I tried to reproduce the error but I could run rasa train core
and rasa test core
without any issues (using Rasa 2.1.x). Could you share the exact commands that you used? Could you also try to delete as much of your stories/domain as possible to provide a minimal setup that gives the error?
Hi @SamS
After I removed 'intent: restart'
in story and deleted all old .md files, it worked
- story: get started or greet or restart
steps:
- or:
- intent: get_started
- intent: greet
- intent: restart
- action: action_greet
- or:
Because intent restart
is default intent which automatically predicts action_restart
Thanks you and @SamS for yours quick reply
Chào bạn, mình nghĩ bạn có đủ kiến thức về RASA, mình mong bạn có thể cho mình cách thức liên lạc qua gmail được không, mình cần bạn hướng dẫn để hoàn thành bước cuối làm luận văn ạ, mình cảm ơn bạn
em có thể để lại email, a sẽ mail em nhé.