Hello, nlu is identifying wrong intent for below example, please guide if I am missing something
nlu.md ##intent:pfContrib
- What is the provident fund contribution to be made by the employee and employer in the Provident Fun
- employer pf contribution
- employee contribution
- how much does employee contribute for pf
- employee employer contribute towards
- employee employer pf contribution
##intent:pfContact
- whom do I contact for pf queries
- contact for pf
- whom do I reach for pf queries
- pf contact
- pf contact person
When I try giving ( error is only for below input) pf contribution -> intent recognized is pfContact but when I give contribution to pf -> correct intent is recognized.
Pipeline:
Configuration for Rasa NLU.
https://rasa.com/docs/rasa/nlu/components/
language: en pipeline:
- name: WhitespaceTokenizer
- name: RegexFeaturizer
- name: LexicalSyntacticFeaturizer
- name: CountVectorsFeaturizer analyzer: “char_wb” min_ngram: 1 max_ngram: 4
- name: DIETClassifier epochs: 100
- name: EntitySynonymMapper
- name: ResponseSelector epochs: 100
Configuration for Rasa Core.
https://rasa.com/docs/rasa/core/policies/
policies:
- name: KerasPolicy
- name: TEDPolicy max_history: 5 epochs: 100
- name: AugmentedMemoizationPolicy
- name: MappingPolicy
- name: FallbackPolicy nlu_threshold: 0.4 core_threshold: 0.4 fallback_action_name: “action_default_fallback”