Stories get mix with each other how to use it different different
* story: login balance steps:
* intent: login.balance
* action: utter_mobile_number
* intent: mobile_no entities:
* mobile_number: 1234567890
* action: action_mobile_no
* intent: otp_number entities:
* otp: 123056
* action: action_otp
* action: action_Account_Balnce
other story —
* story: check ministatement steps:
* intent: check.ministatement
* action: utter_mobile_number
* intent: mobile_no entities:
* mobile_number: 1234567890
* action: action_mobile_no
* intent: otp_number entities:
* otp: 123056
* action: action_otp
* action: utter_account_number
* intent: account_no entities:
* account_number: 1234
* action: action_account_no
* action: action_mini_statement
After action_otp in mini statement is goes to action_accountbalance
config.yml
language: en
pipeline:
# # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
# # If you'd like to customize it, uncomment and adjust the pipeline.
# # See https://rasa.com/docs/rasa/tuning-your-model for more information.
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: RegexEntityExtractor
# text will be processed with case insensitive as default
case_sensitive: False
# use lookup tables to extract entities
use_lookup_tables: True
# use regexes to extract entities
use_regexes: True
# use match word boundaries for lookup table
"use_word_boundaries": True
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer
- name: CountVectorsFeaturizer
# analyzer: char_wb
# min_ngram: 1
# max_ngram: 4
- name: DIETClassifier
epochs: 50
constrain_similarities: False
- name: EntitySynonymMapper
- name: ResponseSelector
epochs: 50
constrain_similarities: False
- name: "DucklingEntityExtractor"
url: "http://localhost:8000"
dimensions: ["mobile_number" , "AccessKey", "account_number"]
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
- name: UnexpecTEDIntentPolicy
max_history: 5
epochs: 50
augmentation_factor: 0
- name: TEDPolicy
max_history: 5
epochs: 50
augmentation_factor: 0
constrain_similarities: False
- name: MappingPolicy