Rasa version: 2.0.0rc1 Python version: 3.6.9 OS: ubuntu 18.04
config.yml
language: "zh"
pipeline:
- name: "JiebaTokenizer"
dictionary_path: "jiebatemp"
# Flag to check whether to split intents
"intent_tokenization_flag": False
# Symbol on which intent should be split
"intent_split_symbol": "_"
# Regular expression to detect tokens
"token_pattern": None
policies:
- name: RulePolicy
the dict.txt format like below:
RSS订阅 3 n
4S店 3 n
江南Style 3 n
1号店 3 n
中国 129470 ns
中国 3 b
nlu.yml
version: "2.0"
nlu:
- intent: greet
examples: |
- 你好
- 早上好
- 中午好
- 晚上好
- intent: greetx
examples: |
- hey
- hi
- hello
- intent: mood_happy
examples: |
- 很好
- 不错
- 我很好
- intent: mood_unhappy
examples: |
- 很难过
- 糟糕极了
stories.yml
version: "2.0"
stories:
- story: happy path
steps:
- intent: greet
- action: utter_greet
- intent: mood_happy
- action: utter_happy
- intent: greetx
- action: utter_greetx
- story: unhappy path
steps:
- intent: greet
- action: utter_greet
- intent: mood_unhappy
- action: utter_unhappy
- intent: greetx
- action: utter_greetx
rules.yml
version: "2.0"
rules:
- rule: Say goodbye anytime the user says goodbye
steps:
- intent: goodbye
- action: utter_goodbye
- rule: Say 'I am a bot' anytime the user challenges
steps:
- intent: bot_challenge
- action: utter_iamabot
domain.yml
intents:
- greet
- greetx
- goodbye
- mood_unhappy
- bot_challenge
- mood_happy
responses:
utter_greet:
- text: "你好,今天过得如何?"
utter_greetx:
- text: "xx你好xx,xx今天过得如何?xx"
utter_happy:
- text: "那很不错!"
utter_unhappy:
- text: "发生了什么事,可以说给我吗?"
utter_goodbye:
- text: "Bye"
utter_iamabot:
- text: "I am a bot, powered by Rasa."
=================================================================
QUESTION: rasa train successfully. but parse intent by rasa shell nlu, the result is null.