One intent, one story .Rasa not response any messsage

I want to test an intent, a story, but the rasa doesn’t return any messages

if 2 intent, 2 stories, once the chat is done once, the next time it is chat it will not return any messages

Is there any way for each chat to return the message?

this is my policy

policies:

  • name: KerasPolicy

    epochs: 100

    max_history: 5

  • name: “MemoizationPolicy”

    max_history: 5

  • name: “FallbackPolicy”

    nlu_threshold: 0.4

    core_threshold: 0.3

  • name: “FormPolicy”

Please help me !

Hi @dungpv

for the sake of simplicity, you could add:

- action_restart

at the end of every storyline and see if this results in what you imagined.

Did that do the trick?

Regards

thanks @JulianGerhard this is my story. i have added action restart but not response message of action utter_xin_chao

xin_chao_tam_biet

  • xin_chao
    • utter_xin_chao
    • action_restart

Okay, then we will need more information. Could you please post the contents of your training files and of the domain.yml?

Please keep in mind to surround them as code in this editor such that we could read it properly.

Regards

@JulianGerhard this is my domain.yml

%YAML 1.1

actions:

  • utter_xin_chao

intents:

  • xin_chao

templates:

utter_xin_chao:
- text: Chào bạn tôi có thể giúp gì được cho bạn
- text: Chào bạn tôi là bot nhà hàng, hãy gọi tôi nếu bạn cần giúp gì nhé

and this file nlu.md

intent:xin_chao

  • e bot
  • chào bạn
  • hi
  • hello
  • chào bot
  • con bot kia
  • hi bot
  • bot em
  • ê bot đang làm gì thế ?
  • hey bot
  • xin chào
  • 2 bot
  • hello robot
  • yo
  • chào mi
  • chào mày
  • tôi đang ở đâu đây ?
  • chào
  • xin chào bạn
  • ê cu
  • e thằng bot kia

Just to make sure: You have another intent? There should have been a warning about one intent being too few to work properly?

@JulianGerhard is correct, your bot will not train an NLU model if you only have one intent. Therefore it will not classify the intent, and it won’t know how to respond to that.

As for

if 2 intent, 2 stories, once the chat is done once, the next time it is chat it will not return any messages

If you want to be able to go back to the beginning after, you could try changing MemoizationPolicy to AugmentedMemoizationPolicy. However, know that if in the future, you have slots set, this could affect the second conversation. In that case, you’d want to start over via /restart like Julian recommends.